public abstract class AnnotationExpr extends Expression implements NodeWithName<AnnotationExpr>
Node.ObserverRegistrationMode
Modifier and Type | Field and Description |
---|---|
protected Name |
name |
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION, prettyPrinterNoCommentsConfiguration
Constructor and Description |
---|
AnnotationExpr() |
AnnotationExpr(Name name) |
AnnotationExpr(Range range,
Name name) |
Modifier and Type | Method and Description |
---|---|
AnnotationExpr |
clone() |
AnnotationExprMetaModel |
getMetaModel() |
Name |
getName() |
boolean |
remove(Node node) |
AnnotationExpr |
setName(Name name) |
addOrphanComment, equals, getAllContainedComments, getChildNodes, getComment, getData, getNodeLists, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getRange, hasComment, hashCode, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeOrphanComment, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setRange, toString, toString, tryAddImportToParentCompilationUnit, unregister
finalize, getClass, notify, notifyAll, wait, wait, wait
getNameAsString, setName
getAncestorOfType, setAsParentNodeOf, setAsParentNodeOf
containsWithin, getBegin, getEnd, isPositionedAfter, isPositionedBefore
protected Name name
public AnnotationExpr()
public AnnotationExpr(Name name)
public Name getName()
getName
in interface NodeWithName<AnnotationExpr>
public AnnotationExpr setName(Name name)
setName
in interface NodeWithName<AnnotationExpr>
public boolean remove(Node node)
remove
in class Expression
public AnnotationExpr clone()
clone
in class Expression
public AnnotationExprMetaModel getMetaModel()
getMetaModel
in class Expression
Copyright © 2007–2017. All rights reserved.