public final class ClassOrInterfaceDeclaration extends TypeDeclaration
Constructor and Description |
---|
ClassOrInterfaceDeclaration() |
ClassOrInterfaceDeclaration(int modifiers,
boolean isInterface,
String name) |
ClassOrInterfaceDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(JavadocComment javaDoc,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
List<ClassOrInterfaceType> |
getExtends() |
List<ClassOrInterfaceType> |
getImplements() |
List<TypeParameter> |
getTypeParameters() |
boolean |
isInterface() |
void |
setExtends(List<ClassOrInterfaceType> extendsList) |
void |
setImplements(List<ClassOrInterfaceType> implementsList) |
void |
setInterface(boolean interface_) |
void |
setTypeParameters(List<TypeParameter> typeParameters) |
getMembers, getModifiers, getName, setMembers, setModifiers, setName
getAnnotations, getJavaDoc, setAnnotations, setJavaDoc
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public ClassOrInterfaceDeclaration()
public ClassOrInterfaceDeclaration(int modifiers, boolean isInterface, String name)
public ClassOrInterfaceDeclaration(JavadocComment javaDoc, int modifiers, List<AnnotationExpr> annotations, boolean isInterface, String name, List<TypeParameter> typeParameters, List<ClassOrInterfaceType> extendsList, List<ClassOrInterfaceType> implementsList, List<BodyDeclaration> members)
public ClassOrInterfaceDeclaration(int beginLine, int beginColumn, int endLine, int endColumn, JavadocComment javaDoc, int modifiers, List<AnnotationExpr> annotations, boolean isInterface, String name, List<TypeParameter> typeParameters, List<ClassOrInterfaceType> extendsList, List<ClassOrInterfaceType> implementsList, List<BodyDeclaration> members)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public List<ClassOrInterfaceType> getExtends()
public List<ClassOrInterfaceType> getImplements()
public List<TypeParameter> getTypeParameters()
public boolean isInterface()
public void setExtends(List<ClassOrInterfaceType> extendsList)
public void setImplements(List<ClassOrInterfaceType> implementsList)
public void setInterface(boolean interface_)
public void setTypeParameters(List<TypeParameter> typeParameters)