Constructor and Description |
---|
AnnotationAttributeValue(AnnotationAttachment annotationValue,
SimpleTypeName valueType,
NodeLocation location,
WhiteSpaceDescriptor whiteSpaceDescriptor) |
AnnotationAttributeValue(AnnotationAttributeValue[] valueArray,
SimpleTypeName valueType,
NodeLocation location,
WhiteSpaceDescriptor whiteSpaceDescriptor) |
AnnotationAttributeValue(BValue bValue,
SimpleTypeName valueType,
NodeLocation location,
WhiteSpaceDescriptor whiteSpaceDescriptor) |
AnnotationAttributeValue(SimpleVarRefExpr varRefExpr,
NodeLocation location,
WhiteSpaceDescriptor whiteSpaceDescriptor) |
Modifier and Type | Method and Description |
---|---|
AnnotationAttachment |
getAnnotationValue() |
BValue |
getLiteralValue() |
NodeLocation |
getNodeLocation()
Returns the location of this node.
|
BType |
getType() |
SimpleTypeName |
getTypeName() |
AnnotationAttributeValue[] |
getValueArray() |
SimpleVarRefExpr |
getVarRefExpr() |
WhiteSpaceDescriptor |
getWhiteSpaceDescriptor()
Get information about whitespace associated with this particular node in source file.
|
void |
setNodeLocation(NodeLocation location) |
void |
setType(BType type) |
void |
setWhiteSpaceDescriptor(WhiteSpaceDescriptor whiteSpaceDescriptor) |
String |
toString() |
public AnnotationAttributeValue(BValue bValue, SimpleTypeName valueType, NodeLocation location, WhiteSpaceDescriptor whiteSpaceDescriptor)
public AnnotationAttributeValue(SimpleVarRefExpr varRefExpr, NodeLocation location, WhiteSpaceDescriptor whiteSpaceDescriptor)
public AnnotationAttributeValue(AnnotationAttachment annotationValue, SimpleTypeName valueType, NodeLocation location, WhiteSpaceDescriptor whiteSpaceDescriptor)
public AnnotationAttributeValue(AnnotationAttributeValue[] valueArray, SimpleTypeName valueType, NodeLocation location, WhiteSpaceDescriptor whiteSpaceDescriptor)
public AnnotationAttachment getAnnotationValue()
public BValue getLiteralValue()
public SimpleVarRefExpr getVarRefExpr()
public AnnotationAttributeValue[] getValueArray()
public void setNodeLocation(NodeLocation location)
public NodeLocation getNodeLocation()
Node
NodeLocation
includes the source filename and the line number.
getNodeLocation
in interface Node
public void setWhiteSpaceDescriptor(WhiteSpaceDescriptor whiteSpaceDescriptor)
public WhiteSpaceDescriptor getWhiteSpaceDescriptor()
Node
getWhiteSpaceDescriptor
in interface Node
public SimpleTypeName getTypeName()
public BType getType()
public void setType(BType type)
Copyright © 2018 WSO2. All rights reserved.