Uses of Class
org.codehaus.groovy.ast.MethodNode

Packages that use MethodNode
groovy.grape   
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. 
org.codehaus.groovy.vmplugin.v5 Java 5 specific classes. 
 

Uses of MethodNode in groovy.grape
 

Methods in groovy.grape with parameters of type MethodNode
protected  void GrabAnnotationTransformation.visitConstructorOrMethod(MethodNode node, boolean isConstructor)
           
 

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
           
 

Fields in org.codehaus.groovy.ast with type parameters of type MethodNode
private  java.util.List<MethodNode> ClassNode.methodsList
           
 

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)
           
 MethodNode ClassNode.tryFindPossibleMethod(java.lang.String name, Expression arguments)
           
 

Methods in org.codehaus.groovy.ast that return types with arguments of type MethodNode
 java.util.List<MethodNode> ClassNode.getMethods()
          Returns a list containing MethodNode objects for each method in the class represented by this ClassNode
private  java.util.List<MethodNode> ClassNode.getMethodsListLazy()
           
 

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)
           
protected  void ClassCodeExpressionTransformer.visitConstructorOrMethod(MethodNode node, boolean isConstructor)
           
 void ClassCodeVisitorSupport.visitMethod(MethodNode node)
           
 void GroovyClassVisitor.visitMethod(MethodNode node)
           
 

Uses of MethodNode in org.codehaus.groovy.classgen
 

Fields in org.codehaus.groovy.classgen declared as MethodNode
private  MethodNode AsmClassGenerator.methodNode
           
private  MethodNode Verifier.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)
           
private  void Verifier.addReturnIfNeeded(MethodNode node)
           
 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(java.util.Collection methods, MethodNode method, java.util.Map methodsToAdd, java.util.Map genericsSpec)
           
private  void AsmClassGenerator.visitAnnotationDefault(MethodNode node, org.objectweb.asm.MethodVisitor mv)
           
protected  void AsmClassGenerator.visitConstructorOrMethod(MethodNode node, boolean isConstructor)
           
protected  void VariableScopeVisitor.visitConstructorOrMethod(MethodNode node, boolean isConstructor)
           
 void DummyClassGenerator.visitMethod(MethodNode node)
           
 void ExtendedVerifier.visitMethod(MethodNode node)
           
 void AsmClassGenerator.visitMethod(MethodNode node)
           
 void ClassCompletionVerifier.visitMethod(MethodNode node)
           
 void Verifier.visitMethod(MethodNode node)
           
private  void AsmClassGenerator.visitStdMethod(MethodNode node, boolean isConstructor, Parameter[] parameters, Statement code)
           
 

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 ResolveVisitor.visitConstructorOrMethod(MethodNode node, boolean isConstructor)
           
protected  void StaticImportVisitor.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)
           
 

Uses of MethodNode in org.codehaus.groovy.vmplugin.v5
 

Methods in org.codehaus.groovy.vmplugin.v5 with parameters of type MethodNode
private  void Java5.setMethodDefaultValue(MethodNode mn, java.lang.reflect.Method m)
           
 



Copyright © ${year} The Codehaus. All Rights Reserved.