Uses of Class
org.jboss.jandex.AnnotationValue
-
Packages that use AnnotationValue Package Description org.jboss.jandex Jandex is a space efficient Java class file indexer and offline reflection library. -
-
Uses of AnnotationValue in org.jboss.jandex
Subclasses of AnnotationValue in org.jboss.jandex Modifier and Type Class 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
Fields in org.jboss.jandex declared as AnnotationValue Modifier and Type Field Description (package private) AnnotationValue
MethodInternal.ExtraInfo. defaultValue
(package private) static AnnotationValue[]
AnnotationValue. EMPTY_ARRAY
private AnnotationValue[]
AnnotationValue.ArrayValue. value
private AnnotationValue[]
AnnotationInstance. values
Fields in org.jboss.jandex with type parameters of type AnnotationValue Modifier and Type Field Description private java.util.List<AnnotationValue>
AnnotationInstanceBuilder. values
Methods in org.jboss.jandex that return AnnotationValue Modifier and Type Method Description (package private) AnnotationValue[]
AnnotationValue.ArrayValue. asArray()
(package private) AnnotationValue[]
AnnotationValue. asArray()
static AnnotationValue
AnnotationValue. createArrayValue(java.lang.String name, java.util.List<AnnotationValue> values)
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. createDoubleValue(java.lang.String name, double d)
static AnnotationValue
AnnotationValue. createDouleValue(java.lang.String name, double d)
Deprecated.UsecreateDoubleValue(String, double)
instead.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)
Deprecated.UsecreateLongValue(String, long)
instead.static AnnotationValue
AnnotationValue. createLongValue(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)
AnnotationValue
MethodInfo. defaultValue()
Returns the default annotation value if this method represents an annotation member with a default value.(package private) AnnotationValue
MethodInternal. defaultValue()
private AnnotationValue
Indexer. processAnnotationElementValue(java.lang.String name, java.io.DataInputStream data)
private AnnotationValue
IndexReaderV2. readAnnotationValue(PackedDataInputStream stream)
private AnnotationValue[]
IndexReaderV1. readAnnotationValues(PackedDataInputStream stream)
private AnnotationValue[]
IndexReaderV2. readAnnotationValues(PackedDataInputStream stream)
AnnotationValue
AnnotationInstance. value()
Returns the member that has the special default namevalue
.AnnotationValue
AnnotationInstance. value(java.lang.String name)
Returns the member of this annotation that has the specified name.AnnotationValue[]
AnnotationValue.ArrayValue. value()
(package private) AnnotationValue[]
AnnotationInstance. valueArray()
AnnotationValue
AnnotationInstance. valueWithDefault(IndexView index)
Returns the member of this annotation that has special namevalue
, accounting for its default value.AnnotationValue
AnnotationInstance. valueWithDefault(IndexView index, java.lang.String name)
Returns the member of this annotation that has the specified name, accounting for its default value.Methods in org.jboss.jandex that return types with arguments of type AnnotationValue Modifier and Type Method Description java.util.List<AnnotationValue>
AnnotationValue.ArrayValue. asArrayList()
java.util.List<AnnotationValue>
AnnotationValue. asArrayList()
Returns the underlying array value as aList
ofAnnotationValue
.java.util.List<AnnotationValue>
AnnotationInstance. values()
Returns an immutable list of all members of this annotation instance.java.util.List<AnnotationValue>
AnnotationInstance. valuesWithDefaults(IndexView index)
Returns a list of all members of this annotation instance, including default values if defined.Methods in org.jboss.jandex with parameters of type AnnotationValue Modifier and Type Method Description AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(AnnotationValue value)
Adds a pre-defined annotation member whose name and value are defined by givenvalue
.private void
IndexWriterV1. buildAValueEntries(Index index, AnnotationValue value)
private void
IndexWriterV2. buildAValueEntries(AnnotationValue value)
static AnnotationInstance
AnnotationInstance. create(DotName name, boolean visible, AnnotationTarget target, AnnotationValue[] values)
Construct a new mock annotation instance.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)
(package private) void
MethodInfo. setDefaultValue(AnnotationValue defaultValue)
(package private) void
MethodInternal. setDefaultValue(AnnotationValue defaultValue)
private void
IndexWriterV1. writeAnnotationValue(PackedDataOutputStream stream, AnnotationValue value)
private void
IndexWriterV2. writeAnnotationValue(PackedDataOutputStream stream, AnnotationValue value)
Method parameters in org.jboss.jandex with type arguments of type AnnotationValue Modifier and Type Method Description AnnotationInstanceBuilder
AnnotationInstanceBuilder. addAll(java.util.List<AnnotationValue> values)
Adds all pre-defined annotation members whose names and values are defined by givenvalues
.static AnnotationInstance
AnnotationInstance. create(DotName name, boolean visible, AnnotationTarget target, java.util.List<AnnotationValue> values)
Construct a new mock annotation instance.static AnnotationInstance
AnnotationInstance. create(DotName name, AnnotationTarget target, java.util.List<AnnotationValue> values)
Construct a new mock annotation instance.static AnnotationValue
AnnotationValue. createArrayValue(java.lang.String name, java.util.List<AnnotationValue> values)
private void
IndexWriterV1. writeAnnotationValues(PackedDataOutputStream stream, java.util.Collection<AnnotationValue> values)
private void
IndexWriterV2. writeAnnotationValues(PackedDataOutputStream stream, java.util.Collection<AnnotationValue> values)
Constructors in org.jboss.jandex with parameters of type AnnotationValue Constructor Description AnnotationInstance(DotName name, AnnotationTarget target, AnnotationValue[] values, boolean runtimeVisible)
ArrayValue(java.lang.String name, AnnotationValue[] value)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue)
-