pt.compiler.parser.ast.body
Class FieldDeclaration
java.lang.Object
pt.compiler.parser.ast.Node
pt.compiler.parser.ast.body.BodyDeclaration
pt.compiler.parser.ast.body.FieldDeclaration
public final class FieldDeclaration
- extends BodyDeclaration
- Author:
- Julio Vilmar Gesser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FieldDeclaration
public FieldDeclaration(int line,
int column,
JavadocComment javaDoc,
int modifiers,
java.util.List<AnnotationExpr> annotations,
Type type,
java.util.List<VariableDeclarator> variables)
getModifiers
public int getModifiers()
getAnnotations
public java.util.List<AnnotationExpr> getAnnotations()
getType
public Type getType()
getVariables
public java.util.List<VariableDeclarator> getVariables()
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