public class AnnAttributeValue extends Object
AnnotationAttributeValue
contains the value of a Ballerina annotation attribute.Constructor and Description |
---|
AnnAttributeValue(int typeDescCPIndex,
String typeDesc) |
AnnAttributeValue(int typeDescCPIndex,
String typeDesc,
AnnAttachmentInfo annotationAttachmentValue) |
AnnAttributeValue(int typeDescCPIndex,
String typeDesc,
AnnAttributeValue[] attributeValueArray) |
AnnAttributeValue(int typeDescCPIndex,
String typeDesc,
int constPkgCPIndex,
String constPkg,
int constNameCPIndex,
String constName) |
Modifier and Type | Method and Description |
---|---|
AnnAttachmentInfo |
getAnnotationAttachmentValue() |
AnnAttributeValue[] |
getAttributeValueArray() |
boolean |
getBooleanValue() |
String |
getConstName() |
int |
getConstNameCPIndex() |
String |
getConstPkg() |
int |
getConstPkgCPIndex() |
double |
getFloatValue() |
long |
getIntValue() |
String |
getStringValue() |
String |
getTypeDesc() |
int |
getTypeDescCPIndex() |
int |
getValueCPIndex() |
boolean |
isConstVarExpr() |
void |
setBooleanValue(boolean booleanValue) |
void |
setConstVarExpr(boolean constVarExpr) |
void |
setFloatValue(double floatValue) |
void |
setIntValue(long intValue) |
void |
setStringValue(String stringValue) |
void |
setValueCPIndex(int valueCPIndex) |
public AnnAttributeValue(int typeDescCPIndex, String typeDesc)
public AnnAttributeValue(int typeDescCPIndex, String typeDesc, AnnAttachmentInfo annotationAttachmentValue)
public AnnAttributeValue(int typeDescCPIndex, String typeDesc, AnnAttributeValue[] attributeValueArray)
public int getTypeDescCPIndex()
public String getTypeDesc()
public int getValueCPIndex()
public void setValueCPIndex(int valueCPIndex)
public long getIntValue()
public void setIntValue(long intValue)
public double getFloatValue()
public void setFloatValue(double floatValue)
public String getStringValue()
public void setStringValue(String stringValue)
public boolean getBooleanValue()
public void setBooleanValue(boolean booleanValue)
public boolean isConstVarExpr()
public void setConstVarExpr(boolean constVarExpr)
public int getConstPkgCPIndex()
public String getConstPkg()
public int getConstNameCPIndex()
public String getConstName()
public AnnAttachmentInfo getAnnotationAttachmentValue()
public AnnAttributeValue[] getAttributeValueArray()
Copyright © 2018 WSO2. All rights reserved.