org.codehaus.groovy.ast
Class ConstructorNode

java.lang.Object
  extended byorg.codehaus.groovy.ast.ASTNode
      extended byorg.codehaus.groovy.ast.AnnotatedNode
          extended byorg.codehaus.groovy.ast.ConstructorNode

public class ConstructorNode
extends AnnotatedNode

Represents a constructor declaration

Version:
$Revision: 1.8 $
Author:
James Strachan

Constructor Summary
ConstructorNode(int modifiers, Parameter[] parameters, Statement code)
           
ConstructorNode(int modifiers, Statement code)
           
 
Method Summary
protected  VariableScope createVariableScope()
           
 Statement getCode()
           
 int getModifiers()
           
 Parameter[] getParameters()
           
 VariableScope getVariableScope()
           
 void setCode(Statement code)
           
 void setVariableScope(VariableScope variableScope)
           
 
Methods inherited from class org.codehaus.groovy.ast.AnnotatedNode
addAnnotation, addAnnotations, addFieldsToVisitor, getAnnotationClass, getAnnotations, getAnnotations, getDeclaringClass, isSynthetic, setDeclaringClass, setSynthetic
 
Methods inherited from class org.codehaus.groovy.ast.ASTNode
getColumnNumber, getLineNumber, getText, setColumnNumber, setLineNumber, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorNode

public ConstructorNode(int modifiers,
                       Statement code)

ConstructorNode

public ConstructorNode(int modifiers,
                       Parameter[] parameters,
                       Statement code)
Method Detail

getCode

public Statement getCode()

setCode

public void setCode(Statement code)

getModifiers

public int getModifiers()

getParameters

public Parameter[] getParameters()

getVariableScope

public VariableScope getVariableScope()

setVariableScope

public void setVariableScope(VariableScope variableScope)

createVariableScope

protected VariableScope createVariableScope()


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