Modifier and Type | Method and Description |
---|---|
static AnnotationValue |
AnnotationValue.createArrayValue(String name,
AnnotationValue[] values) |
static AnnotationValue |
AnnotationValue.createBooleanValue(String name,
boolean bool) |
static AnnotationValue |
AnnotationValue.createByteValue(String name,
byte b) |
static AnnotationValue |
AnnotationValue.createCharacterValue(String name,
char c) |
static AnnotationValue |
AnnotationValue.createClassValue(String name,
Type type) |
static AnnotationValue |
AnnotationValue.createDouleValue(String name,
double d) |
static AnnotationValue |
AnnotationValue.createEnumValue(String name,
DotName typeName,
String value) |
static AnnotationValue |
AnnotationValue.createFloatValue(String name,
float f) |
static AnnotationValue |
AnnotationValue.createIntegerValue(String name,
int i) |
static AnnotationValue |
AnnotationValue.createLongalue(String name,
long l) |
static AnnotationValue |
AnnotationValue.createNestedAnnotationValue(String name,
AnnotationInstance instance) |
static AnnotationValue |
AnnotationValue.createShortValue(String name,
short s) |
static AnnotationValue |
AnnotationValue.createStringValue(String name,
String string) |
AnnotationValue |
AnnotationInstance.value()
Returns the value that is associated with the special default "value"
parameter.
|
AnnotationValue |
AnnotationInstance.value(String name)
Returns a value that corresponds with the specified parameter name.
|
Modifier and Type | Method and Description |
---|---|
List<AnnotationValue> |
AnnotationInstance.values()
Returns a list of all parameter values on this annotation instance.
|
Modifier and Type | Method and Description |
---|---|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
AnnotationValue[] values)
Construct a new mock annotation instance.
|
static AnnotationValue |
AnnotationValue.createArrayValue(String name,
AnnotationValue[] values) |
Modifier and Type | Method and Description |
---|---|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
List<AnnotationValue> values)
Construct a new mock annotation instance.
|
Copyright © 2014 JBoss by Red Hat. All rights reserved.