| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
AnnotationValue.ArrayValue |
(package private) static class |
AnnotationValue.BooleanValue |
(package private) static class |
AnnotationValue.ByteValue |
(package private) static class |
AnnotationValue.CharacterValue |
(package private) static class |
AnnotationValue.ClassValue |
(package private) static class |
AnnotationValue.DoubleValue |
(package private) static class |
AnnotationValue.EnumValue |
(package private) static class |
AnnotationValue.FloatValue |
(package private) static class |
AnnotationValue.IntegerValue |
(package private) static class |
AnnotationValue.LongValue |
(package private) static class |
AnnotationValue.NestedAnnotation |
(package private) static class |
AnnotationValue.ShortValue |
(package private) static class |
AnnotationValue.StringValue |
| Modifier and Type | Field and Description |
|---|---|
private static AnnotationValue[] |
AnnotationInstance.ANNOTATION_VALUES_TYPE |
(package private) static AnnotationValue[] |
AnnotationValue.EMPTY_VALUE_ARRAY |
private AnnotationValue[] |
AnnotationValue.ArrayValue.value |
private AnnotationValue[] |
AnnotationInstance.values |
| Modifier and Type | Method and Description |
|---|---|
(package private) AnnotationValue[] |
AnnotationValue.asArray() |
(package private) AnnotationValue[] |
AnnotationValue.ArrayValue.asArray() |
static AnnotationValue |
AnnotationValue.createArrayValue(java.lang.String name,
AnnotationValue[] values) |
static AnnotationValue |
AnnotationValue.createBooleanValue(java.lang.String name,
boolean bool) |
static AnnotationValue |
AnnotationValue.createByteValue(java.lang.String name,
byte b) |
static AnnotationValue |
AnnotationValue.createCharacterValue(java.lang.String name,
char c) |
static AnnotationValue |
AnnotationValue.createClassValue(java.lang.String name,
Type type) |
static AnnotationValue |
AnnotationValue.createDouleValue(java.lang.String name,
double d) |
static AnnotationValue |
AnnotationValue.createEnumValue(java.lang.String name,
DotName typeName,
java.lang.String value) |
static AnnotationValue |
AnnotationValue.createFloatValue(java.lang.String name,
float f) |
static AnnotationValue |
AnnotationValue.createIntegerValue(java.lang.String name,
int i) |
static AnnotationValue |
AnnotationValue.createLongalue(java.lang.String name,
long l) |
static AnnotationValue |
AnnotationValue.createNestedAnnotationValue(java.lang.String name,
AnnotationInstance instance) |
static AnnotationValue |
AnnotationValue.createShortValue(java.lang.String name,
short s) |
static AnnotationValue |
AnnotationValue.createStringValue(java.lang.String name,
java.lang.String string) |
private AnnotationValue |
Indexer.processAnnotationElementValue(java.lang.String name,
java.io.DataInputStream data) |
private AnnotationValue[] |
IndexReaderV1.readAnnotationValues(PackedDataInputStream stream) |
private AnnotationValue[] |
IndexReaderV2.readAnnotationValues(PackedDataInputStream stream) |
AnnotationValue |
AnnotationInstance.value()
Returns the value that is associated with the special default "value"
parameter.
|
AnnotationValue[] |
AnnotationValue.ArrayValue.value() |
AnnotationValue |
AnnotationInstance.value(java.lang.String name)
Returns a value that corresponds with the specified parameter name.
|
(package private) AnnotationValue[] |
AnnotationInstance.valueArray() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AnnotationValue> |
AnnotationInstance.values()
Returns a list of all parameter values on this annotation instance.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
IndexWriterV2.buildAValueEntries(AnnotationValue value) |
private void |
IndexWriterV1.buildAValueEntries(Index index,
AnnotationValue value) |
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
AnnotationValue[] values)
Construct a new mock annotation instance.
|
static AnnotationValue |
AnnotationValue.createArrayValue(java.lang.String name,
AnnotationValue[] values) |
private void |
IndexWriterV1.writeAnnotationValue(PackedDataOutputStream stream,
AnnotationValue value) |
private void |
IndexWriterV2.writeAnnotationValue(PackedDataOutputStream stream,
AnnotationValue value) |
| Modifier and Type | Method and Description |
|---|---|
static AnnotationInstance |
AnnotationInstance.create(DotName name,
AnnotationTarget target,
java.util.List<AnnotationValue> values)
Construct a new mock annotation instance.
|
private void |
IndexWriterV1.writeAnnotationValues(PackedDataOutputStream stream,
java.util.Collection<AnnotationValue> values) |
private void |
IndexWriterV2.writeAnnotationValues(PackedDataOutputStream stream,
java.util.Collection<AnnotationValue> values) |
| Constructor and Description |
|---|
AnnotationInstance(DotName name,
AnnotationTarget target,
AnnotationValue[] values) |
ArrayValue(java.lang.String name,
AnnotationValue[] value) |