public class TypeDeclaration extends EntityDeclaration
| Modifier and Type | Field and Description |
|---|---|
static TypeDeclaration |
NULL |
ANNOTATION_ROLE, MODIFIER_ROLE, PRIVATE_IMPLEMENTATION_TYPE_ROLE, UNATTACHED_ANNOTATION_ROLEAST_NODE_USED_FLAGS, flagsCHILD_ITERATOR| Constructor and Description |
|---|
TypeDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
TypeDeclaration |
clone() |
AstType |
getBaseType() |
ClassType |
getClassType() |
EntityType |
getEntityType() |
AstNodeCollection<AstType> |
getInterfaces() |
JavaTokenNode |
getLeftBraceToken() |
AstNodeCollection<EntityDeclaration> |
getMembers() |
NodeType |
getNodeType() |
JavaTokenNode |
getRightBraceToken() |
JavaTokenNode |
getTypeKeyword() |
AstNodeCollection<TypeParameterDeclaration> |
getTypeParameters() |
boolean |
matches(INode other,
Match match) |
void |
setBaseType(AstType value) |
void |
setClassType(ClassType classType) |
getAnnotations, getModifiers, getName, getNameToken, getReturnType, hasModifier, isAnyModifiers, matchAnnotationsAndModifiers, setAnyModifiers, setName, setNameToken, setReturnTypeaddChild, contains, contains, copyUserDataFrom, forPattern, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic static final TypeDeclaration NULL
public final JavaTokenNode getTypeKeyword()
public final ClassType getClassType()
public final void setClassType(ClassType classType)
public final AstNodeCollection<TypeParameterDeclaration> getTypeParameters()
public final AstNodeCollection<AstType> getInterfaces()
public final AstType getBaseType()
public final void setBaseType(AstType value)
public final JavaTokenNode getLeftBraceToken()
public final AstNodeCollection<EntityDeclaration> getMembers()
public final JavaTokenNode getRightBraceToken()
public NodeType getNodeType()
getNodeType in class EntityDeclarationpublic EntityType getEntityType()
getEntityType in class EntityDeclarationpublic <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNodepublic TypeDeclaration clone()
clone in class EntityDeclaration