|
|||||||||||
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 | |
org.codehaus.groovy.syntax.parser | The main parser of Groovy code into the Groovy AST model (Abstract Syntax Tree) |
Uses of MethodNode in org.codehaus.groovy.ast |
Fields in org.codehaus.groovy.ast declared as MethodNode | |
private MethodNode |
ClassNode.enclosingMethod
|
Methods in org.codehaus.groovy.ast that return MethodNode | |
MethodNode |
ClassNode.getEnclosingMethod()
|
MethodNode |
ClassNode.addMethod(java.lang.String name,
int modifiers,
java.lang.String returnType,
Parameter[] parameters,
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,
java.lang.String returnType,
Parameter[] parameters,
Statement code)
Adds a synthetic method as part of the compilation process |
MethodNode |
ClassNode.getDeclaredMethod(java.lang.String name,
Parameter[] parameters)
|
protected MethodNode |
ClassNode.createMethodNode(java.lang.reflect.Method method)
Factory method to create a new MethodNode via reflection |
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 |
ModuleNode.addMethod(MethodNode node)
|
void |
GroovyClassVisitor.visitMethod(MethodNode node)
|
void |
ClassNode.setEnclosingMethod(MethodNode enclosingMethod)
|
protected int |
ClassNode.findMatchingMethodInList(MethodNode method,
java.util.List methods)
|
void |
ClassNode.addMethod(MethodNode node)
|
Uses of MethodNode in org.codehaus.groovy.classgen |
Fields in org.codehaus.groovy.classgen declared as MethodNode | |
private MethodNode |
Verifier.methodNode
|
private MethodNode |
AsmClassGenerator.methodNode
|
Methods in org.codehaus.groovy.classgen that return MethodNode | |
MethodNode |
Verifier.getMethodNode()
|
protected MethodNode |
AsmClassGenerator.findSuperMethod(MethodCallExpression call)
Attempts to find the method of the given name in a super class |
Methods in org.codehaus.groovy.classgen with parameters of type MethodNode | |
void |
Verifier.visitMethod(MethodNode node)
|
protected void |
Verifier.addDefaultParameterMethod(ClassNode node,
MethodNode method,
Parameter[] parameters,
int index)
Adds a new method which defaults the values for all the parameters starting from and including the given index |
java.lang.String |
GeneratorContext.getNextClosureInnerName(ClassNode owner,
ClassNode enclosingClass,
MethodNode enclosingMethod)
|
void |
DummyClassGenerator.visitMethod(MethodNode node)
|
void |
ClassCompletionVerifier.visitMethod(MethodNode a_node)
|
void |
AsmClassGenerator.visitMethod(MethodNode node)
|
Uses of MethodNode in org.codehaus.groovy.control |
Methods in org.codehaus.groovy.control that return MethodNode | |
MethodNode |
SourceUnit.createMethodNode(java.lang.String code)
|
Uses of MethodNode in org.codehaus.groovy.syntax.parser |
Methods in org.codehaus.groovy.syntax.parser that return MethodNode | |
protected MethodNode |
ASTBuilder.methodDeclaration(ClassNode classNode,
CSTNode reduction,
int extraModifiers)
Processes the Reduction produced by Parser.methodDeclaration(). |
protected MethodNode |
ASTBuilder.methodDeclaration(ClassNode classNode,
CSTNode reduction)
A synonym for methodDeclaration( classNode, reduction, 0 ) . |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |