pt.compiler.parser.ast.body
Class ConstructorDeclaration
java.lang.Object
pt.compiler.parser.ast.Node
pt.compiler.parser.ast.body.BodyDeclaration
pt.compiler.parser.ast.body.ConstructorDeclaration
public final class ConstructorDeclaration
- extends BodyDeclaration
- Author:
- Julio Vilmar Gesser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConstructorDeclaration
public ConstructorDeclaration(int line,
int column,
JavadocComment javaDoc,
int modifiers,
java.util.List<AnnotationExpr> annotations,
java.util.List<TypeParameter> typeParameters,
java.lang.String name,
java.util.List<Parameter> parameters,
java.util.List<NameExpr> throws_,
BlockStmt block)
getModifiers
public int getModifiers()
getAnnotations
public java.util.List<AnnotationExpr> getAnnotations()
getTypeParameters
public java.util.List<TypeParameter> getTypeParameters()
getName
public java.lang.String getName()
getParameters
public java.util.List<Parameter> getParameters()
getThrows
public java.util.List<NameExpr> getThrows()
getBlock
public BlockStmt getBlock()
accept
public <A> void accept(VoidVisitor<A> v,
A arg)
- Overrides:
accept
in class Node
accept
public <R,A> R accept(GenericVisitor<R,A> v,
A arg)
- Overrides:
accept
in class Node