pt.compiler.parser.ast.body
Class AnnotationMemberDeclaration

java.lang.Object
  extended by pt.compiler.parser.ast.Node
      extended by pt.compiler.parser.ast.body.BodyDeclaration
          extended by pt.compiler.parser.ast.body.AnnotationMemberDeclaration

public final class AnnotationMemberDeclaration
extends BodyDeclaration

Author:
Julio Vilmar Gesser

Constructor Summary
AnnotationMemberDeclaration(int line, int column, JavadocComment javaDoc, int modifiers, java.util.List<AnnotationExpr> annotations, Type type, java.lang.String name, Expression defaultValue)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 java.util.List<AnnotationExpr> getAnnotations()
           
 Expression getDefaultValue()
           
 int getModifiers()
           
 java.lang.String getName()
           
 Type getType()
           
 
Methods inherited from class pt.compiler.parser.ast.body.BodyDeclaration
getJavaDoc
 
Methods inherited from class pt.compiler.parser.ast.Node
getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationMemberDeclaration

public AnnotationMemberDeclaration(int line,
                                   int column,
                                   JavadocComment javaDoc,
                                   int modifiers,
                                   java.util.List<AnnotationExpr> annotations,
                                   Type type,
                                   java.lang.String name,
                                   Expression defaultValue)
Method Detail

getModifiers

public int getModifiers()

getAnnotations

public java.util.List<AnnotationExpr> getAnnotations()

getType

public Type getType()

getName

public java.lang.String getName()

getDefaultValue

public Expression getDefaultValue()

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