Uses of Class
org.jboss.jandex.AnnotationValue
Packages that use AnnotationValue
Package
Description
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.jandexModifier and TypeClassDescription(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
(package private) static final class
Fields in org.jboss.jandex declared as AnnotationValueModifier and TypeFieldDescription(package private) AnnotationValue
MethodInternal.ExtraInfo.defaultValue
(package private) static final AnnotationValue[]
AnnotationValue.EMPTY_ARRAY
private final AnnotationValue[]
AnnotationValue.ArrayValue.value
private final AnnotationValue[]
AnnotationInstance.values
Fields in org.jboss.jandex with type parameters of type AnnotationValueModifier and TypeFieldDescriptionprivate final List
<AnnotationValue> AnnotationInstanceBuilder.values
Methods in org.jboss.jandex that return AnnotationValueModifier and TypeMethodDescription(package private) AnnotationValue[]
AnnotationValue.ArrayValue.asArray()
(package private) AnnotationValue[]
AnnotationValue.asArray()
static AnnotationValue
AnnotationValue.createArrayValue
(String name, List<AnnotationValue> values) 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.createDoubleValue
(String name, double d) static AnnotationValue
AnnotationValue.createDouleValue
(String name, double d) Deprecated.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) Deprecated.UsecreateLongValue(String, long)
instead.static AnnotationValue
AnnotationValue.createLongValue
(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) MethodInfo.defaultValue()
Returns the default annotation value if this method represents an annotation member with a default value.(package private) final AnnotationValue
MethodInternal.defaultValue()
private AnnotationValue
Indexer.processAnnotationElementValue
(String name, DataInputStream data) private AnnotationValue
IndexReaderV2.readAnnotationValue
(PackedDataInputStream stream) private AnnotationValue[]
IndexReaderV1.readAnnotationValues
(PackedDataInputStream stream) private AnnotationValue[]
IndexReaderV2.readAnnotationValues
(PackedDataInputStream stream) AnnotationInstance.value()
Returns the member that has the special default namevalue
.Returns the member of this annotation that has the specified name.AnnotationValue.ArrayValue.value()
(package private) AnnotationValue[]
AnnotationInstance.valueArray()
AnnotationInstance.valueWithDefault
(IndexView index) Returns the member of this annotation that has special namevalue
, accounting for its default value.AnnotationInstance.valueWithDefault
(IndexView index, 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 AnnotationValueModifier and TypeMethodDescriptionAnnotationValue.ArrayValue.asArrayList()
AnnotationValue.asArrayList()
Returns the underlying array value as aList
ofAnnotationValue
.AnnotationInstance.values()
Returns an immutable list of all members of this annotation instance.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 AnnotationValueModifier and TypeMethodDescriptionAnnotationInstanceBuilder.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
(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 AnnotationValueModifier and TypeMethodDescriptionAnnotationInstanceBuilder.addAll
(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, List<AnnotationValue> values) Construct a new mock annotation instance.static AnnotationInstance
AnnotationInstance.create
(DotName name, AnnotationTarget target, List<AnnotationValue> values) Construct a new mock annotation instance.static AnnotationValue
AnnotationValue.createArrayValue
(String name, List<AnnotationValue> values) private void
IndexWriterV1.writeAnnotationValues
(PackedDataOutputStream stream, Collection<AnnotationValue> values) private void
IndexWriterV2.writeAnnotationValues
(PackedDataOutputStream stream, Collection<AnnotationValue> values) Constructors in org.jboss.jandex with parameters of type AnnotationValueModifierConstructorDescriptionprivate
AnnotationInstance
(DotName name, AnnotationTarget target, AnnotationValue[] values, boolean runtimeVisible) (package private)
ArrayValue
(String name, AnnotationValue[] value) (package private)
MethodInternal
(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue)
createDoubleValue(String, double)
instead.