public class AnnotationReferenceNode extends AbstractReferenceNode implements StringNode
| Constructor and Description |
|---|
AnnotationReferenceNode() |
AnnotationReferenceNode(AnnotationReferenceNode node) |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy()
Creates a new copy of this node
|
String |
getLiteralValue()
in some cases the value of the node is different than the literal one
e.g: (literal value) -> (value)
001 -> 1
0xF -> 15
|
String |
getRefName() |
AnnotationTypeNode |
getRefNode() |
String |
getValue() |
String |
toString() |
getParameters, getParametersNode, getRelativeNode, getTypegetEndPosition, getStartPosition, setEndPosition, setStartPositionaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, replaceWith, setChild, setParent, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, getType, removeChild, replaceWith, setChild, setParent, setSourcepublic AnnotationReferenceNode()
public AnnotationReferenceNode(AnnotationReferenceNode node)
public String getRefName()
getRefName in interface ReferenceNode@Nullable public AnnotationTypeNode getRefNode()
getRefNode in interface ReferenceNode@Nonnull public Node copy()
Nodepublic String getValue()
getValue in interface SimpleTypeNode<String>getValue in interface StringNodepublic String getLiteralValue()
SimpleTypeNodegetLiteralValue in interface SimpleTypeNode<String>Copyright © 2016. All rights reserved.