MCPcopy Index your code
hub / github.com/apache/groovy / getMethods

Method getMethods

src/main/java/org/codehaus/groovy/ast/ClassNode.java:1072–1077  ·  view source on GitHub ↗

Returns all MethodNodes declared in this ClassNode, including inherited and synthetic methods. If this node is a proxy (has a redirect), the call is forwarded to the redirect target. This list includes constructors and all instance and static methods defined for this class. @return a list o

()

Source from the content-addressed store, hash-verified

1070 * @see MethodNode
1071 */
1072 public List<MethodNode> getMethods() {
1073 if (redirect != null)
1074 return redirect.getMethods();
1075 lazyClassInit();
1076 return methodsList;
1077 }
1078
1079 /**
1080 * Returns a list of all abstract {@link MethodNode}s declared in this ClassNode.

Callers 15

testArrayClassMethod · 0.95
findClassMemberMethod · 0.95
getAttributeTypeMethod · 0.95
addCovariantMethodsMethod · 0.95
createMopMethodsMethod · 0.95
createClosureClassMethod · 0.95
getDeclaredMethodsMapMethod · 0.95
getMethodMethod · 0.95
visitMethodsMethod · 0.95

Calls 5

lazyClassInitMethod · 0.95
getDeclaredMethodsMethod · 0.95
getSuperClassMethod · 0.95
getMethodsMethod · 0.65
addAllMethod · 0.45

Tested by 1

testArrayClassMethod · 0.76