Uses of Interface
net.bytebuddy.description.annotation.AnnotationValue
Packages that use AnnotationValue
Package
Description
Contains descriptions of annotations and annotation values.
Contains descriptions of Java methods and constructors as well as their parameters.
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type.The implementation package contains any logic for intercepting method calls.
Classes of this package allow for the creating
TypeDescriptions without
loading any classes.-
Uses of AnnotationValue in net.bytebuddy.description.annotation
Classes in net.bytebuddy.description.annotation that implement AnnotationValueModifier and TypeClassDescriptionstatic classAn abstract base implementation of an unloaded annotation value.static classA description of anAnnotationas a value of another annotation.static classRepresents a primitive value, aStringor an array of the latter types.static classDescribes a complex array that is the value of an annotation.static classAnnotationValue.ForEnumerationDescription<U extends Enum<U>>A description of anEnumas a value of an annotation.static classRepresents a property with an enumeration constant that is not defined by an enumeration type.static classRepresents an annotation value where its declared type does not fulfil an expectation.static classDescribes an annotation value that does not match the annotation' type for a property.static classAn annotation value for a type that could not be loaded.static classRepresents a missing annotation property which is not represented by a default value.static classAnnotationValue.ForTypeDescription<U extends Class<U>>A description of aClassas a value of an annotation.Fields in net.bytebuddy.description.annotation declared as AnnotationValueModifier and TypeFieldDescriptionstatic final AnnotationValue<?, ?> AnnotationValue.UNDEFINEDAn undefined annotation value.Methods in net.bytebuddy.description.annotation that return AnnotationValueModifier and TypeMethodDescriptionstatic AnnotationValue<?, ?> Transforms an annotation property to an annotation value.AnnotationValue.AbstractBase.filter(MethodDescription.InDefinedShape property) Filters this annotation value as a valid value of the provided property.AnnotationValue.filter(MethodDescription.InDefinedShape property) Filters this annotation value as a valid value of the provided property.AnnotationValue.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForAnnotationDescription.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForConstant.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForDescriptionArray.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForEnumerationDescription.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForEnumerationDescription.WithUnknownConstant.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForIncompatibleType.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForMismatchedType.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForMissingType.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForMissingValue.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForTypeDescription.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue<?, ?> Returns a value of this annotation.AnnotationValue<?, ?> AnnotationDescription.ForLoadedAnnotation.getValue(MethodDescription.InDefinedShape property) Returns a value of this annotation.AnnotationValue<?, ?> Returns a value of this annotation.AnnotationValue<?, ?> AnnotationDescription.getValue(MethodDescription.InDefinedShape property) Returns a value of this annotation.AnnotationValue<?, ?> AnnotationDescription.Latent.getValue(MethodDescription.InDefinedShape property) Returns a value of this annotation.AnnotationValue<?, ?> AnnotationDescription.Latent.Loadable.getValue(MethodDescription.InDefinedShape property) Returns a value of this annotation.static <V extends Annotation>
AnnotationValue<AnnotationDescription, V> AnnotationValue.ForAnnotationDescription.of(TypeDescription annotationType, Map<String, ? extends AnnotationValue<?, ?>> annotationValues) Creates an annotation value instance for describing the given annotation type and values.static AnnotationValue<Boolean, Boolean> AnnotationValue.ForConstant.of(boolean value) Creates an annotation value for abooleanvalue.static AnnotationValue<boolean[], boolean[]> AnnotationValue.ForConstant.of(boolean... value) Creates an annotation value for aboolean[]value.static AnnotationValue<Byte, Byte> AnnotationValue.ForConstant.of(byte value) Creates an annotation value for abytevalue.static AnnotationValue<byte[], byte[]> AnnotationValue.ForConstant.of(byte... value) Creates an annotation value for abyte[]value.static AnnotationValue<Character, Character> AnnotationValue.ForConstant.of(char value) Creates an annotation value for acharvalue.static AnnotationValue<char[], char[]> AnnotationValue.ForConstant.of(char... value) Creates an annotation value for achar[]value.static AnnotationValue<Double, Double> AnnotationValue.ForConstant.of(double value) Creates an annotation value for adoublevalue.static AnnotationValue<double[], double[]> AnnotationValue.ForConstant.of(double... value) Creates an annotation value for adouble[]value.static AnnotationValue<Float, Float> AnnotationValue.ForConstant.of(float value) Creates an annotation value for afloatvalue.static AnnotationValue<float[], float[]> AnnotationValue.ForConstant.of(float... value) Creates an annotation value for afloat[]value.static AnnotationValue<Integer, Integer> AnnotationValue.ForConstant.of(int value) Creates an annotation value for aintvalue.static AnnotationValue<int[], int[]> AnnotationValue.ForConstant.of(int... value) Creates an annotation value for aint[]value.static AnnotationValue<Long, Long> AnnotationValue.ForConstant.of(long value) Creates an annotation value for alongvalue.static AnnotationValue<long[], long[]> AnnotationValue.ForConstant.of(long... value) Creates an annotation value for along[]value.static AnnotationValue<Short, Short> AnnotationValue.ForConstant.of(short value) Creates an annotation value for ashortvalue.static AnnotationValue<short[], short[]> AnnotationValue.ForConstant.of(short... value) Creates an annotation value for ashort[]value.static AnnotationValue<?, ?> Creates an annotation value for any constant value, i.e any primitive (wrapper) type, any primitive array type or anyStringvalue or array.static AnnotationValue<String, String> Creates an annotation value for aStringvalue.static AnnotationValue<String[], String[]> Creates an annotation value for aString[]value.static AnnotationValue<TypeDescription[], Class<?>[]> AnnotationValue.ForDescriptionArray.of(TypeDescription[] typeDescription) Creates a new complex array of annotation descriptions.static <W extends Annotation>
AnnotationValue<AnnotationDescription[], W[]> AnnotationValue.ForDescriptionArray.of(TypeDescription annotationType, AnnotationDescription[] annotationDescription) Creates a new complex array of annotation descriptions.static <W extends Enum<W>>
AnnotationValue<EnumerationDescription[], W[]> AnnotationValue.ForDescriptionArray.of(TypeDescription enumerationType, EnumerationDescription[] enumerationDescription) Creates a new complex array of enumeration descriptions.static <V extends Enum<V>>
AnnotationValue<EnumerationDescription, V> AnnotationValue.ForEnumerationDescription.of(EnumerationDescription value) Creates a new annotation value for the given enumeration description.static <V extends Class<V>>
AnnotationValue<TypeDescription, V> AnnotationValue.ForTypeDescription.of(TypeDescription typeDescription) Creates an annotation value for representing the given type.Methods in net.bytebuddy.description.annotation with parameters of type AnnotationValueModifier and TypeMethodDescriptionAnnotationDescription.Builder.define(String property, AnnotationValue<?, ?> value) Returns a builder with the additional, given property.Method parameters in net.bytebuddy.description.annotation with type arguments of type AnnotationValueModifier and TypeMethodDescriptionstatic <S extends Annotation>
SAnnotationDescription.AnnotationInvocationHandler.of(ClassLoader classLoader, Class<S> annotationType, Map<String, ? extends AnnotationValue<?, ?>> values) Creates a proxy instance for the supplied annotation type and values.static <V extends Annotation>
AnnotationValue<AnnotationDescription, V> AnnotationValue.ForAnnotationDescription.of(TypeDescription annotationType, Map<String, ? extends AnnotationValue<?, ?>> annotationValues) Creates an annotation value instance for describing the given annotation type and values.Constructor parameters in net.bytebuddy.description.annotation with type arguments of type AnnotationValueModifierConstructorDescriptionprotectedBuilder(TypeDescription annotationType, Map<String, AnnotationValue<?, ?>> annotationValues) Creates a builder for an annotation description.ForDescriptionArray(Class<?> unloadedComponentType, TypeDescription componentType, List<? extends AnnotationValue<?, ?>> values) Creates a new complex array.protectedLatent(TypeDescription annotationType, Map<String, ? extends AnnotationValue<?, ?>> annotationValues) Creates a new latent annotation description. -
Uses of AnnotationValue in net.bytebuddy.description.method
Methods in net.bytebuddy.description.method that return AnnotationValueModifier and TypeMethodDescriptionAnnotationValue<?, ?> MethodDescription.ForLoadedConstructor.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> MethodDescription.ForLoadedMethod.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> MethodDescription.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> MethodDescription.Latent.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> MethodDescription.Latent.TypeInitializer.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> MethodDescription.Token.getDefaultValue()Returns the default value of the represented method.AnnotationValue<?, ?> MethodDescription.TypeSubstituting.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.Methods in net.bytebuddy.description.method with parameters of type AnnotationValueModifier and TypeMethodDescriptionbooleanMethodDescription.AbstractBase.isDefaultValue(AnnotationValue<?, ?> annotationValue) Checks if the given value can describe a default annotation value for this method.booleanMethodDescription.isDefaultValue(AnnotationValue<?, ?> annotationValue) Checks if the given value can describe a default annotation value for this method.Constructors in net.bytebuddy.description.method with parameters of type AnnotationValueModifierConstructorDescriptionLatent(TypeDescription declaringType, String internalName, int modifiers, List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic returnType, List<? extends ParameterDescription.Token> parameterTokens, List<? extends TypeDescription.Generic> exceptionTypes, List<? extends AnnotationDescription> declaredAnnotations, AnnotationValue<?, ?> defaultValue, TypeDescription.Generic receiverType) Creates a new latent method description.Token(String name, int modifiers, List<? extends TypeVariableToken> typeVariableTokens, TypeDescription.Generic returnType, List<? extends ParameterDescription.Token> parameterTokens, List<? extends TypeDescription.Generic> exceptionTypes, List<? extends AnnotationDescription> annotations, AnnotationValue<?, ?> defaultValue, TypeDescription.Generic receiverType) Creates a new token for a method description. -
Uses of AnnotationValue in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic that return AnnotationValueModifier and TypeMethodDescriptionAnnotationValue<?, ?> Transformer.ForMethod.TransformedMethod.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.Methods in net.bytebuddy.dynamic with parameters of type AnnotationValueModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.defaultValue(AnnotationValue<?, ?> annotationValue) Defines the previously defined or matched method to return the supplied value as an annotation default value.DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.defaultValue(AnnotationValue<?, ?> annotationValue) Defines the previously defined or matched method to return the supplied value as an annotation default value.DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter.defaultValue(AnnotationValue<?, ?> annotationValue) Defines the previously defined or matched method to return the supplied value as an annotation default value.DynamicType.Builder.MethodDefinition.ImplementationDefinition.defaultValue(AnnotationValue<?, ?> annotationValue) Defines the previously defined or matched method to return the supplied value as an annotation default value.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter.defaultValue(AnnotationValue<?, ?> annotationValue) Defines the previously defined or matched method to return the supplied value as an annotation default value.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter.defaultValue(AnnotationValue<?, ?> annotationValue) Defines the previously defined or matched method to return the supplied value as an annotation default value.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter.defaultValue(AnnotationValue<?, ?> annotationValue) Defines the previously defined or matched method to return the supplied value as an annotation default value. -
Uses of AnnotationValue in net.bytebuddy.dynamic.scaffold
Methods in net.bytebuddy.dynamic.scaffold that return AnnotationValueModifier and TypeMethodDescriptionAnnotationValue<?, ?> TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type AnnotationValueModifierConstructorDescriptionForAnnotationValue(AnnotationValue<?, ?> annotationValue) Creates a handler for defining a default annotation value for a method.WithAnnotationDefaultValue(MethodDescription methodDescription, AnnotationValue<?, ?> annotationValue, MethodAttributeAppender methodAttributeAppender) Creates a new entry for defining a method with a default annotation value. -
Uses of AnnotationValue in net.bytebuddy.dynamic.scaffold.inline
Methods in net.bytebuddy.dynamic.scaffold.inline that return AnnotationValueModifier and TypeMethodDescriptionAnnotationValue<?, ?> MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method. -
Uses of AnnotationValue in net.bytebuddy.implementation
Methods in net.bytebuddy.implementation that return AnnotationValueModifier and TypeMethodDescriptionAnnotationValue<?, ?> Implementation.Context.Default.AccessorMethod.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> Implementation.Context.Default.FieldGetter.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?, ?> Implementation.Context.Default.FieldSetter.getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method. -
Uses of AnnotationValue in net.bytebuddy.pool
Methods in net.bytebuddy.pool with parameters of type AnnotationValueModifier and TypeMethodDescriptionvoidTypePool.Default.AnnotationRegistrant.AbstractBase.register(String name, AnnotationValue<?, ?> annotationValue) Registers an annotation value.voidTypePool.Default.AnnotationRegistrant.register(String name, AnnotationValue<?, ?> annotationValue) Registers an annotation value.voidTypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup.register(String name, AnnotationValue<?, ?> annotationValue) Registers an annotation value.voidTypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup.register(String ignored, AnnotationValue<?, ?> annotationValue) Registers an annotation value.voidTypePool.Default.TypeExtractor.MethodExtractor.register(String ignored, AnnotationValue<?, ?> annotationValue) Registers an annotation value.Constructors in net.bytebuddy.pool with parameters of type AnnotationValueModifierConstructorDescriptionprotectedMethodToken(String name, int modifiers, String descriptor, String genericSignature, String[] exceptionName, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, Map<Integer, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, Map<Integer, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?, ?> defaultValue) Creates a new method token.Constructor parameters in net.bytebuddy.pool with type arguments of type AnnotationValueModifierConstructorDescriptionprotectedAnnotationToken(String descriptor, Map<String, AnnotationValue<?, ?>> values) Creates a new annotation token.