|
||||||||||
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 | Compiler control classes. |
org.codehaus.groovy.tools.javac | Classes related to the joint compiler. |
Uses of MethodNode in org.codehaus.groovy.ast |
---|
Subclasses of MethodNode in org.codehaus.groovy.ast | |
---|---|
class |
ConstructorNode
Represents a constructor declaration |
Fields in org.codehaus.groovy.ast declared as MethodNode | |
---|---|
private MethodNode |
ClassNode.enclosingMethod
|
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 |
MethodNode |
ClassNode.getDeclaredMethod(java.lang.String name,
Parameter[] parameters)
Finds a method matching the given name and parameters in this class. |
MethodNode |
ClassNode.getEnclosingMethod()
|
MethodNode |
ClassNode.getGetterMethod(java.lang.String getterName)
|
MethodNode |
ClassNode.getMethod(java.lang.String name,
Parameter[] parameters)
Finds a method matching the given name and parameters in this class or any parent class. |
MethodNode |
ClassNode.getSetterMethod(java.lang.String setterName)
|
Methods in org.codehaus.groovy.ast with parameters of type MethodNode | |
---|---|
void |
ModuleNode.addMethod(MethodNode node)
|
void |
ClassNode.addMethod(MethodNode node)
|
void |
ClassNode.setEnclosingMethod(MethodNode enclosingMethod)
|
protected void |
ClassCodeVisitorSupport.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
protected void |
ClassCodeExpressionTransformer.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
void |
GroovyClassVisitor.visitMethod(MethodNode node)
|
void |
ClassCodeVisitorSupport.visitMethod(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 | |
---|---|
private MethodNode |
Verifier.getCovariantImplementation(MethodNode oldMethod,
MethodNode overridingMethod,
java.util.Map genericsSpec)
|
MethodNode |
Verifier.getMethodNode()
|
Methods in org.codehaus.groovy.classgen with parameters of type MethodNode | |
---|---|
private void |
ClassCompletionVerifier.addErrorIfParamsAndReturnTypeEqual(Parameter[] p2,
Parameter[] p1,
MethodNode node,
MethodNode element)
|
private void |
ClassCompletionVerifier.addInvalidUseOfFinalError(MethodNode method,
Parameter[] parameters,
ClassNode superCN)
|
protected void |
Verifier.addPropertyMethod(MethodNode method)
|
void |
Verifier.DefaultArgsAction.call(ArgumentListExpression arguments,
Parameter[] newParams,
MethodNode method)
|
private void |
ClassCompletionVerifier.checkAbstractDeclaration(MethodNode methodNode)
|
private void |
ClassCompletionVerifier.checkMethodForModifier(MethodNode node,
boolean condition,
java.lang.String modifierName)
|
private void |
ClassCompletionVerifier.checkMethodModifiers(MethodNode node)
|
private void |
ClassCompletionVerifier.checkOverloadingPrivateAndPublic(MethodNode node)
|
private void |
ClassCompletionVerifier.checkRepetitiveMethod(MethodNode node)
|
private boolean |
Verifier.equalParametersNormal(MethodNode m1,
MethodNode m2)
|
private boolean |
Verifier.equalParametersWithGenerics(MethodNode m1,
MethodNode m2,
java.util.Map genericsSpec)
|
private MethodNode |
Verifier.getCovariantImplementation(MethodNode oldMethod,
MethodNode overridingMethod,
java.util.Map genericsSpec)
|
private java.lang.String |
ClassCompletionVerifier.getDescription(MethodNode node)
|
static java.lang.String |
BytecodeHelper.getGenericsMethodSignature(MethodNode node)
|
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)
|
private java.lang.String |
VariableScopeVisitor.getPropertyName(MethodNode m)
|
private ClassNode |
VariableScopeVisitor.getPropertyType(MethodNode m)
|
private boolean |
ClassCompletionVerifier.isConstructor(MethodNode method)
|
private boolean |
Verifier.methodNeedsReplacement(MethodNode m)
|
private void |
Verifier.storeMissingCovariantMethods(ClassNode current,
MethodNode method,
java.util.Map methodsToAdd,
java.util.Map genericsSpec)
|
protected void |
VariableScopeVisitor.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
protected void |
AsmClassGenerator.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
void |
Verifier.visitMethod(MethodNode node)
|
void |
ExtendedVerifier.visitMethod(MethodNode node)
|
void |
DummyClassGenerator.visitMethod(MethodNode node)
|
void |
ClassCompletionVerifier.visitMethod(MethodNode node)
|
void |
AsmClassGenerator.visitMethod(MethodNode node)
|
Uses of MethodNode in org.codehaus.groovy.control |
---|
Fields in org.codehaus.groovy.control declared as MethodNode | |
---|---|
private MethodNode |
StaticImportVisitor.currentMethod
|
Methods in org.codehaus.groovy.control with parameters of type MethodNode | |
---|---|
protected void |
StaticImportVisitor.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
protected void |
ResolveVisitor.visitConstructorOrMethod(MethodNode node,
boolean isConstructor)
|
Uses of MethodNode in org.codehaus.groovy.tools.javac |
---|
Methods in org.codehaus.groovy.tools.javac with parameters of type MethodNode | |
---|---|
private void |
JavaStubGenerator.genMethod(ClassNode clazz,
MethodNode methodNode,
java.io.PrintWriter out)
|
private void |
JavaStubGenerator.printParams(MethodNode methodNode,
java.io.PrintWriter out)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |