NodeWithName<AnnotationExpr>
, NodeWithRange<AnnotationExpr>
, NodeWithTokenRange<AnnotationExpr>
, Observable
, Visitable
, HasParentNode<AnnotationExpr>
, Cloneable
public final class MarkerAnnotationExpr extends AnnotationExpr
@Override
Node.ObserverRegistrationMode, Node.Parsedness
name
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION, prettyPrinterNoCommentsConfiguration
Constructor | Description |
---|---|
MarkerAnnotationExpr() |
|
MarkerAnnotationExpr(Name name) |
|
MarkerAnnotationExpr(TokenRange tokenRange,
Name name) |
This constructor is used by the parser and is considered private.
|
MarkerAnnotationExpr(String name) |
Modifier and Type | Method | 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.
|
MarkerAnnotationExpr |
clone() |
|
MarkerAnnotationExprMetaModel |
getMetaModel() |
|
boolean |
remove(Node node) |
|
boolean |
replace(Node node,
Node replacementNode) |
getName, setName
getAncestorOfType
addOrphanComment, customInitialization, equals, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getNodeLists, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getRange, getTokenRange, hasComment, hashCode, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, toString, toString, tryAddImportToParentCompilationUnit, unregister
getNameAsString, setName
containsWithin, getBegin, getEnd, isPositionedAfter, isPositionedBefore
public MarkerAnnotationExpr()
public MarkerAnnotationExpr(String name)
public MarkerAnnotationExpr(Name name)
@Generated("com.github.javaparser.generator.core.node.MainConstructorGenerator") public MarkerAnnotationExpr(TokenRange tokenRange, Name name)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Visitable
R
- the type of the return value of the visitorA
- the type the user argument passed to the visitorv
- the visitor implementationarg
- the argument passed to the visitor (of type A)public <A> void accept(VoidVisitor<A> v, A arg)
Visitable
A
- the type the argument passed for the visitorv
- the visitor implementationarg
- any value relevant for the visitor (of type A)@Generated("com.github.javaparser.generator.core.node.RemoveMethodGenerator") public boolean remove(Node node)
remove
in class AnnotationExpr
@Generated("com.github.javaparser.generator.core.node.CloneGenerator") public MarkerAnnotationExpr clone()
clone
in class AnnotationExpr
@Generated("com.github.javaparser.generator.core.node.GetMetaModelGenerator") public MarkerAnnotationExprMetaModel getMetaModel()
getMetaModel
in class AnnotationExpr
@Generated("com.github.javaparser.generator.core.node.ReplaceMethodGenerator") public boolean replace(Node node, Node replacementNode)
replace
in class AnnotationExpr
Copyright © 2007–2019. All rights reserved.