public interface ConstantAnnotationExpression extends AnnotationExpression
Modifier and Type | Interface and Description |
---|---|
static class |
ConstantAnnotationExpression.Type
Type of the constant expression
|
Modifier and Type | Method and Description |
---|---|
ConstantAnnotationExpression.Type |
getType()
Returns the type of the constant exprssion
|
String |
getValue()
Value of the constant expression
|
void |
setType(ConstantAnnotationExpression.Type type)
Sets the type of the constant expression
|
void |
setValue(String value)
Sets the value of the constant expression
|
asConstant, asDynamic, isConstant, isDynamic
ConstantAnnotationExpression.Type getType()
void setType(ConstantAnnotationExpression.Type type)
type
- type of the constant expressionString getValue()
void setValue(String value)
value
- value of the constant expressionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.