public final class ClassOrInterfaceDeclaration extends TypeDeclaration implements DocumentableNode
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ClassOrInterfaceDeclaration() |
ClassOrInterfaceDeclaration(int modifiers,
boolean isInterface,
String name) |
ClassOrInterfaceDeclaration(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
boolean isInterface,
String name,
List<TypeParameter> typeParameters,
List<ClassOrInterfaceType> extendsList,
List<ClassOrInterfaceType> implementsList,
List<BodyDeclaration> members) |
ClassOrInterfaceDeclaration(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() |
JavadocComment |
getJavaDoc() |
List<TypeParameter> |
getTypeParameters() |
boolean |
isInterface() |
void |
setExtends(List<ClassOrInterfaceType> extendsList) |
void |
setImplements(List<ClassOrInterfaceType> implementsList) |
void |
setInterface(boolean interface_) |
void |
setJavaDoc(JavadocComment javadocComment) |
void |
setTypeParameters(List<TypeParameter> typeParameters) |
getMembers, getModifiers, getName, getNameExpr, setMembers, setModifiers, setName, setNameExpr
getAnnotations, setAnnotations
addOrphanComment, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
public ClassOrInterfaceDeclaration()
public ClassOrInterfaceDeclaration(int modifiers, boolean isInterface, String name)
public ClassOrInterfaceDeclaration(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, 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)
public void setJavaDoc(JavadocComment javadocComment)
setJavaDoc
in interface DocumentableNode
public JavadocComment getJavaDoc()
getJavaDoc
in interface DocumentableNode
Copyright © 2007-2015. All Rights Reserved.