pt.compiler.parser.ast.body
Class ClassOrInterfaceDeclaration

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.ClassOrInterfaceDeclaration

public final class ClassOrInterfaceDeclaration
extends TypeDeclaration

Author:
Julio Vilmar Gesser

Constructor Summary
ClassOrInterfaceDeclaration(int line, int column, JavadocComment javaDoc, int modifiers, java.util.List<AnnotationExpr> annotations, boolean isInterface, java.lang.String name, java.util.List<TypeParameter> typeParameters, java.util.List<ClassOrInterfaceType> extendsList, java.util.List<ClassOrInterfaceType> implementsList, 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()
           
 java.util.List<ClassOrInterfaceType> getExtends()
           
 java.util.List<ClassOrInterfaceType> getImplements()
           
 java.util.List<TypeParameter> getTypeParameters()
           
 boolean isInterface()
           
 
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

ClassOrInterfaceDeclaration

public ClassOrInterfaceDeclaration(int line,
                                   int column,
                                   JavadocComment javaDoc,
                                   int modifiers,
                                   java.util.List<AnnotationExpr> annotations,
                                   boolean isInterface,
                                   java.lang.String name,
                                   java.util.List<TypeParameter> typeParameters,
                                   java.util.List<ClassOrInterfaceType> extendsList,
                                   java.util.List<ClassOrInterfaceType> implementsList,
                                   java.util.List<BodyDeclaration> members)
Method Detail

getAnnotations

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

isInterface

public boolean isInterface()

getTypeParameters

public java.util.List<TypeParameter> getTypeParameters()

getExtends

public java.util.List<ClassOrInterfaceType> getExtends()

getImplements

public java.util.List<ClassOrInterfaceType> getImplements()

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