Package | Description |
---|---|
org.ballerinalang.model |
Modifier and Type | Method and Description |
---|---|
AnnotationAttributeValue |
AnnotationAttachment.getAttribute(String attributeName)
Get the value of the Key-Value pair.
|
AnnotationAttributeValue[] |
AnnotationAttributeValue.getValueArray() |
Modifier and Type | Method and Description |
---|---|
Map<String,AnnotationAttributeValue> |
AnnotationAttachment.getAttributeNameValuePairs()
Get Key-Value pairs of fields in the annotation.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationAttachment.addAttributeNameValuePair(String name,
AnnotationAttributeValue value)
Add a attribute name-value pair for the annotation.
|
void |
AnnotationAttachment.AnnotationBuilder.addAttributeNameValuePair(String name,
AnnotationAttributeValue value)
Add a attribute name-value pair for the annotation.
|
Constructor and Description |
---|
AnnotationAttributeValue(AnnotationAttributeValue[] valueArray,
SimpleTypeName valueType,
NodeLocation location,
WhiteSpaceDescriptor whiteSpaceDescriptor) |
Constructor and Description |
---|
AnnotationAttachment(NodeLocation location,
WhiteSpaceDescriptor whiteSpaceDescriptor,
String name,
String pkgName,
String pkgPath,
Map<String,AnnotationAttributeValue> fieldValPairs) |
Copyright © 2018 WSO2. All rights reserved.