pt.compiler.parser.ast.body
Class AnnotationDeclaration

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.TypeDeclaration
              extended by pt.compiler.parser.ast.body.AnnotationDeclaration

public final class AnnotationDeclaration
extends TypeDeclaration

Author:
Julio Vilmar Gesser

Constructor Summary
AnnotationDeclaration(int line, int column, JavadocComment javaDoc, int modifiers, java.util.List<AnnotationExpr> annotations, java.lang.String name, java.util.List<BodyDeclaration> members)
           
 
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()
           
 
Methods inherited from class pt.compiler.parser.ast.body.TypeDeclaration
getMembers, getModifiers, getName
 
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

AnnotationDeclaration

public AnnotationDeclaration(int line,
                             int column,
                             JavadocComment javaDoc,
                             int modifiers,
                             java.util.List<AnnotationExpr> annotations,
                             java.lang.String name,
                             java.util.List<BodyDeclaration> members)
Method Detail

getAnnotations

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

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