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

Packages that use MethodNode
org.codehaus.groovy.ast   
org.codehaus.groovy.classgen   
org.codehaus.groovy.control   
org.codehaus.groovy.syntax.parser   
 

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, 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(String name, int modifiers, String 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 GroovyClassVisitor.visitMethod(MethodNode node)
           
 void ClassNode.setEnclosingMethod(MethodNode enclosingMethod)
           
protected  int ClassNode.findMatchingMethodInList(MethodNode method, List methods)
           
 void ClassNode.addMethod(MethodNode node)
           
 void ModuleNode.addMethod(MethodNode node)
           
 

Uses of MethodNode in org.codehaus.groovy.classgen
 

Methods in org.codehaus.groovy.classgen that return MethodNode
protected  MethodNode AsmClassGenerator.findSuperMethod(MethodCallExpression call)
          Attempts to find the method of the given name in a super class
 MethodNode Verifier.getMethodNode()
           
 

Methods in org.codehaus.groovy.classgen with parameters of type MethodNode
 void AsmClassGenerator.visitMethod(MethodNode node)
           
 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
 void DummyClassGenerator.visitMethod(MethodNode node)
           
 void ClassCompletionVerifier.visitMethod(MethodNode a_node)
           
 String GeneratorContext.getNextClosureInnerName(ClassNode owner, ClassNode enclosingClass, MethodNode enclosingMethod)
           
 

Uses of MethodNode in org.codehaus.groovy.control
 

Methods in org.codehaus.groovy.control that return MethodNode
 MethodNode SourceUnit.createMethodNode(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 ).
 



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