|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MethodNode | |
---|---|
org.codehaus.groovy.ast | Groovy AST nodes for the syntax of the language |
org.codehaus.groovy.classgen | Generates Java classes for Groovy classes using ASM. |
org.codehaus.groovy.control |
Uses of MethodNode in org.codehaus.groovy.ast |
---|
Subclasses of MethodNode in org.codehaus.groovy.ast | |
---|---|
class |
ConstructorNode
Represents a constructor declaration |
Methods in org.codehaus.groovy.ast that return MethodNode | |
---|---|
MethodNode |
ClassNode.addMethod(java.lang.String name,
int modifiers,
ClassNode returnType,
Parameter[] parameters,
ClassNode[] exceptions,
Statement code)
IF a method with the given name and parameters is already defined then it is returned otherwise the given method is added to this node. |
MethodNode |
ClassNode.addSyntheticMethod(java.lang.String name,
int modifiers,
ClassNode returnType,
Parameter[] parameters,
ClassNode[] exceptions,
Statement code)
Adds a synthetic method as part of the compilation process |
protected MethodNode |
ClassNode.createMethodNode(java.lang.reflect.Method method)
Factory method to create a new MethodNode via reflection |
MethodNode |
ClassNode.getDeclaredMethod(java.lang.String name,
Parameter[] parameters)
|
MethodNode |
ClassNode.getEnclosingMethod()
|
MethodNode |
ClassNode.getGetterMethod(java.lang.String getterName)
|
MethodNode |
ClassNode.getSetterMethod(java.lang.String getterName)
|
Methods in org.codehaus.groovy.ast with parameters of type MethodNode | |
---|---|
void |
ClassNode.addMethod(MethodNode node)
|
void |
ModuleNode.addMethod(MethodNode node)
|
void |
ClassNode.setEnclosingMethod(MethodNode enclosingMethod)
|
protected void |
ClassCodeVisitorSupport.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
void |
GroovyClassVisitor.visitMethod(MethodNode node)
|
void |
ClassCodeVisitorSupport.visitMethod(MethodNode node)
|
Uses of MethodNode in org.codehaus.groovy.classgen |
---|
Methods in org.codehaus.groovy.classgen that return MethodNode | |
---|---|
MethodNode |
Verifier.getMethodNode()
|
Methods in org.codehaus.groovy.classgen with parameters of type MethodNode | |
---|---|
static java.lang.String |
AsmClassGenerator.getMopMethodName(MethodNode method,
boolean useThis)
creates a MOP method name from a method |
java.lang.String |
GeneratorContext.getNextClosureInnerName(ClassNode owner,
ClassNode enclosingClass,
MethodNode enclosingMethod)
|
protected void |
AsmClassGenerator.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
protected void |
VariableScopeVisitor.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
void |
Verifier.visitMethod(MethodNode node)
|
void |
AsmClassGenerator.visitMethod(MethodNode node)
|
void |
DummyClassGenerator.visitMethod(MethodNode node)
|
void |
ClassCompletionVerifier.visitMethod(MethodNode node)
|
Uses of MethodNode in org.codehaus.groovy.control |
---|
Methods in org.codehaus.groovy.control with parameters of type MethodNode | |
---|---|
void |
ResolveVisitor.visitMethod(MethodNode node)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |