Modifier and Type | Method and Description |
---|---|
AnnotationReference[] |
getAnnotationArrayValue(java.lang.String name)
Returns the value for the given property.
|
AnnotationTypeDeclaration |
getAnnotationTypeDeclaration() |
AnnotationReference |
getAnnotationValue(java.lang.String name)
Returns the value for the given property.
|
boolean[] |
getBooleanArrayValue(java.lang.String name)
Returns the value for the given property.
|
boolean |
getBooleanValue(java.lang.String name)
Returns the value for the given property.
|
byte[] |
getByteArrayValue(java.lang.String name)
Returns the value for the given property.
|
byte |
getByteValue(java.lang.String name)
Returns the value for the given property.
|
char[] |
getCharArrayValue(java.lang.String name)
Returns the value for the given property.
|
char |
getCharValue(java.lang.String name)
Returns the value for the given property.
|
TypeReference[] |
getClassArrayValue(java.lang.String name)
Returns the value for the given property.
|
TypeReference |
getClassValue(java.lang.String name)
Returns the value for the given property.
|
double[] |
getDoubleArrayValue(java.lang.String name)
Returns the value for the given property.
|
double |
getDoubleValue(java.lang.String name)
Returns the value for the given property.
|
EnumerationValueDeclaration[] |
getEnumArrayValue(java.lang.String name)
Returns the value for the given property.
|
EnumerationValueDeclaration |
getEnumValue(java.lang.String name)
Returns the value for the given property.
|
Expression |
getExpression(java.lang.String name)
Returns the expression for the given annotation property.
|
float[] |
getFloatArrayValue(java.lang.String name)
Returns the value for the given property.
|
float |
getFloatValue(java.lang.String name)
Returns the value for the given property.
|
int[] |
getIntArrayValue(java.lang.String name)
Returns the value for the given property.
|
int |
getIntValue(java.lang.String name)
Returns the value for the given property.
|
long[] |
getLongArrayValue(java.lang.String name)
Returns the value for the given property.
|
long |
getLongValue(java.lang.String name)
Returns the value for the given property.
|
short[] |
getShortArrayValue(java.lang.String name)
Returns the value for the given property.
|
short |
getShortValue(java.lang.String name)
Returns the value for the given property.
|
java.lang.String[] |
getStringArrayValue(java.lang.String name)
Returns the value for the given property.
|
java.lang.String |
getStringValue(java.lang.String name)
Returns the value for the given property.
|
java.lang.Object |
getValue(java.lang.String property)
Returns the value for the given property.
|
AnnotationTypeDeclaration getAnnotationTypeDeclaration()
java.lang.Object getValue(java.lang.String property)
AnnotationTypeElementDeclaration
will be returned.
Depending of the respective annotation type element, the following values are possibly returned:
null
if no value is set and no default value on the original annotation type element is declared.property
- the name of the propertynull
.int getIntValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- int[] getIntArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- long getLongValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- long[] getLongArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- short getShortValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- short[] getShortArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- float getFloatValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- float[] getFloatArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- double getDoubleValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- double[] getDoubleArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- byte getByteValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- byte[] getByteArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- boolean getBooleanValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- boolean[] getBooleanArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- char getCharValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- char[] getCharArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- java.lang.String getStringValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- java.lang.String[] getStringArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- TypeReference getClassValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- TypeReference[] getClassArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- EnumerationValueDeclaration getEnumValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- EnumerationValueDeclaration[] getEnumArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- AnnotationReference getAnnotationValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- AnnotationReference[] getAnnotationArrayValue(java.lang.String name)
AnnotationTypeElementDeclaration
will be returned.name
- Expression getExpression(java.lang.String name)
null
if no expression is set, or this annotation reference is an external element
(i.e. Tracability.isExternal(Element)
returns true
).name
-