Uses of Interface
net.bytebuddy.description.annotation.AnnotationValue
-
Packages that use AnnotationValue Package Description net.bytebuddy.description.annotation Contains descriptions of annotations and annotation values.net.bytebuddy.description.method Contains descriptions of Java methods and constructors as well as their parameters.net.bytebuddy.dynamic 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.net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicType
by enhancing a given type.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescription
s without loading any classes. -
-
Uses of AnnotationValue in net.bytebuddy.description.annotation
Classes in net.bytebuddy.description.annotation that implement AnnotationValue Modifier and Type Class Description static class
AnnotationValue.AbstractBase<U,V>
An abstract base implementation of an unloaded annotation value.static class
AnnotationValue.ForAnnotationDescription<U extends Annotation>
A description of anAnnotation
as a value of another annotation.static class
AnnotationValue.ForConstant<U>
Represents a primitive value, aString
or an array of the latter types.static class
AnnotationValue.ForDescriptionArray<U,V>
Describes a complex array that is the value of an annotation.static class
AnnotationValue.ForEnumerationDescription<U extends Enum<U>>
A description of anEnum
as a value of an annotation.static class
AnnotationValue.ForEnumerationDescription.WithUnknownConstant<U extends Enum<U>>
Represents a property with an enumeration constant that is not defined by an enumeration type.static class
AnnotationValue.ForIncompatibleType<U,V>
Represents an annotation value where its declared type does not fulfil an expectation.static class
AnnotationValue.ForMismatchedType<U,V>
Describes an annotation value that does not match the annotation' type for a property.static class
AnnotationValue.ForMissingType<U,V>
An annotation value for a type that could not be loaded.static class
AnnotationValue.ForMissingValue<U,V>
Represents a missing annotation property which is not represented by a default value.static class
AnnotationValue.ForTypeDescription<U extends Class<U>>
A description of aClass
as a value of an annotation.Fields in net.bytebuddy.description.annotation declared as AnnotationValue Modifier and Type Field Description static AnnotationValue<?,?>
AnnotationValue. UNDEFINED
An undefined annotation value.Methods in net.bytebuddy.description.annotation that return AnnotationValue Modifier and Type Method Description static AnnotationValue<?,?>
AnnotationDescription.ForLoadedAnnotation. asValue(Object value, Class<?> type)
Transforms an annotation property to an annotation value.AnnotationValue<U,V>
AnnotationValue.AbstractBase. filter(MethodDescription.InDefinedShape property)
AnnotationValue<T,S>
AnnotationValue. filter(MethodDescription.InDefinedShape property)
Filters this annotation value as a valid value of the provided property.AnnotationValue<T,S>
AnnotationValue. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<AnnotationDescription,U>
AnnotationValue.ForAnnotationDescription. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,U>
AnnotationValue.ForConstant. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U[],V[]>
AnnotationValue.ForDescriptionArray. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<EnumerationDescription,U>
AnnotationValue.ForEnumerationDescription. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<EnumerationDescription,U>
AnnotationValue.ForEnumerationDescription.WithUnknownConstant. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForIncompatibleType. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForMismatchedType. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForMissingType. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForMissingValue. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<TypeDescription,U>
AnnotationValue.ForTypeDescription. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<?,?>
AnnotationDescription.ForLoadedAnnotation. getValue(MethodDescription.InDefinedShape property)
Returns the value of this annotation.AnnotationValue<?,?>
AnnotationDescription. getValue(MethodDescription.InDefinedShape property)
Returns the value of this annotation.AnnotationValue<?,?>
AnnotationDescription.Latent. getValue(MethodDescription.InDefinedShape property)
Returns the value of this annotation.AnnotationValue<?,?>
AnnotationDescription.Latent.Loadable. getValue(MethodDescription.InDefinedShape property)
Returns the 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 aboolean
value.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 abyte
value.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 achar
value.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 adouble
value.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 afloat
value.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 aint
value.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 along
value.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 ashort
value.static AnnotationValue<short[],short[]>
AnnotationValue.ForConstant. of(short... value)
Creates an annotation value for ashort[]
value.static AnnotationValue<?,?>
AnnotationValue.ForConstant. of(Object value)
Creates an annotation value for any constant value, i.e any primitive (wrapper) type, any primitive array type or anyString
value or array.static AnnotationValue<String,String>
AnnotationValue.ForConstant. of(String value)
Creates an annotation value for aString
value.static AnnotationValue<String[],String[]>
AnnotationValue.ForConstant. of(String... value)
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 AnnotationValue Modifier and Type Method Description AnnotationDescription.Builder
AnnotationDescription.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 AnnotationValue Modifier and Type Method Description static <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 AnnotationValue Constructor Description Builder(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.Latent(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 AnnotationValue Modifier and Type Method Description AnnotationValue<?,?>
MethodDescription.ForLoadedConstructor. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
MethodDescription.ForLoadedMethod. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
MethodDescription. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
MethodDescription.Latent. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
MethodDescription.Latent.TypeInitializer. getDefaultValue()
Returns the method's default annotation value ornull
if 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 ornull
if no default value is defined for this method.Methods in net.bytebuddy.description.method with parameters of type AnnotationValue Modifier and Type Method Description boolean
MethodDescription.AbstractBase. isDefaultValue(AnnotationValue<?,?> annotationValue)
Checks if the given value can describe a default annotation value for this method.boolean
MethodDescription. 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 AnnotationValue Constructor Description Latent(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 AnnotationValue Modifier and Type Method Description AnnotationValue<?,?>
Transformer.ForMethod.TransformedMethod. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.Methods in net.bytebuddy.dynamic with parameters of type AnnotationValue Modifier and Type Method Description DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
DynamicType.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.MethodDefinition.ReceiverTypeDefinition<U>
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.MethodDefinition.ReceiverTypeDefinition<U>
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.ReceiverTypeDefinition<U>
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.ReceiverTypeDefinition<X>
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.ReceiverTypeDefinition<X>
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.ReceiverTypeDefinition<X>
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 AnnotationValue Modifier and Type Method Description AnnotationValue<?,?>
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type AnnotationValue Constructor Description ForAnnotationValue(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 AnnotationValue Modifier and Type Method Description AnnotationValue<?,?>
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method. -
Uses of AnnotationValue in net.bytebuddy.implementation
Methods in net.bytebuddy.implementation that return AnnotationValue Modifier and Type Method Description AnnotationValue<?,?>
Implementation.Context.Default.AccessorMethod. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
Implementation.Context.Default.FieldGetter. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
Implementation.Context.Default.FieldSetter. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method. -
Uses of AnnotationValue in net.bytebuddy.pool
Methods in net.bytebuddy.pool that return types with arguments of type AnnotationValue Modifier and Type Method Description protected Map<String,AnnotationValue<?,?>>
TypePool.Default.LazyTypeDescription.AnnotationToken. getValues()
Returns a map of annotation value names to their value representations.Methods in net.bytebuddy.pool with parameters of type AnnotationValue Modifier and Type Method Description void
TypePool.Default.AnnotationRegistrant.AbstractBase. register(String name, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.AnnotationRegistrant. register(String name, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup. register(String name, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup. register(String ignored, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.TypeExtractor.MethodExtractor. register(String ignored, AnnotationValue<?,?> annotationValue)
Registers an annotation value.Constructor parameters in net.bytebuddy.pool with type arguments of type AnnotationValue Constructor Description AnnotationToken(String descriptor, Map<String,AnnotationValue<?,?>> values)
Creates a new annotation token.
-