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

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
 

Methods in org.codehaus.groovy.ast that return MethodNode
 MethodNode ClassNode.getEnclosingMethod()
           
 MethodNode ClassNode.addMethod(String name, int modifiers, ClassNode 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(String name, int modifiers, ClassNode returnType, Parameter[] parameters, Statement code)
          Adds a synthetic method as part of the compilation process
 MethodNode ClassNode.getDeclaredMethod(String name, Parameter[] parameters)
           
protected  MethodNode ClassNode.createMethodNode(Method method)
          Factory method to create a new MethodNode via reflection
 MethodNode ClassNode.getGetterMethod(String getterName)
           
 MethodNode ClassNode.getSetterMethod(String getterName)
           
 

Methods in org.codehaus.groovy.ast with parameters of type MethodNode
 void ClassNode.setEnclosingMethod(MethodNode enclosingMethod)
           
 void ClassNode.addMethod(MethodNode node)
           
 void ModuleNode.addMethod(MethodNode node)
           
 void GroovyClassVisitor.visitMethod(MethodNode node)
           
 

Uses of MethodNode in org.codehaus.groovy.classgen
 

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 depth, ArrayList values)
          Adds a new method which defaults the values for all the parameters starting from and including the given index
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
 void ClassCompletionVerifier.visitMethod(MethodNode a_node)
           
 String GeneratorContext.getNextClosureInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod)
           
 void AsmClassGenerator.visitMethod(MethodNode node)
           
 void DummyClassGenerator.visitMethod(MethodNode node)
           
 void JSRVariableScopeCodeVisitor.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)
           
 



Copyright © 2003-2007 The Codehaus. All Rights Reserved.