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.7 $
Author:
James Strachan

Field Summary
private  Statement code
           
private  int modifiers
           
private  Parameter[] parameters
           
private  VariableScope variableScope
           
 
Fields inherited from class org.codehaus.groovy.ast.AnnotatedNode
 
Fields inherited from class org.codehaus.groovy.ast.ASTNode
EMPTY_STRING_ARRAY
 
Constructor Summary
ConstructorNode(int modifiers, Parameter[] parameters, Statement code)
           
ConstructorNode(int modifiers, Statement code)
           
 
Method Summary
 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, getAnnotations, getAnnotations, isSynthetic, setSynthetic
 
Methods inherited from class org.codehaus.groovy.ast.ASTNode
getColumnNumber, getLineNumber, getText, setColumnNumber, setCSTNode, setLineNumber, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modifiers

private int modifiers

parameters

private Parameter[] parameters

code

private Statement code

variableScope

private VariableScope variableScope
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)


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