Get info about instance and class Methods that are dynamically added through Groovy. @return Array of StringArrays that can be indexed with the MEMBER_xxx_IDX constants
()
| 215 | * @return Array of StringArrays that can be indexed with the MEMBER_xxx_IDX constants |
| 216 | */ |
| 217 | public Object[] getMetaMethods() { |
| 218 | MetaClass metaClass = InvokerHelper.getMetaClass(objectUnderInspection); |
| 219 | List metaMethods = metaClass.getMetaMethods(); |
| 220 | Object[] result = new Object[metaMethods.size()]; |
| 221 | int i = 0; |
| 222 | for (Iterator iter = metaMethods.iterator(); iter.hasNext(); i++) { |
| 223 | MetaMethod metaMethod = (MetaMethod) iter.next(); |
| 224 | result[i] = methodInfo(metaMethod); |
| 225 | } |
| 226 | return result; |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Get info about instance and class Methods that are dynamically added through Groovy. |