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 java.lang.annotation.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 java.lang.Enum<U>>
A description of anEnum
as a value of an annotation.static class
AnnotationValue.ForEnumerationDescription.WithUnknownConstant<U extends java.lang.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 java.lang.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.Fields in net.bytebuddy.description.annotation with type parameters of type AnnotationValue Modifier and Type Field Description private java.util.Map<java.lang.String,AnnotationValue<?,?>>
AnnotationDescription.Builder. annotationValues
A mapping of annotation properties to their annotation values.private java.util.Map<java.lang.String,? extends AnnotationValue<?,?>>
AnnotationDescription.Latent. annotationValues
The values of the annotation mapped by their property name.private java.util.List<? extends AnnotationValue<?,?>>
AnnotationValue.ForDescriptionArray. values
A list of values of the array elements.Methods in net.bytebuddy.description.annotation that return AnnotationValue Modifier and Type Method Description static AnnotationValue<?,?>
AnnotationDescription.ForLoadedAnnotation. asValue(java.lang.Object value, java.lang.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 java.lang.annotation.Annotation>
AnnotationValue<AnnotationDescription,V>AnnotationValue.ForAnnotationDescription. of(TypeDescription annotationType, java.util.Map<java.lang.String,? extends AnnotationValue<?,?>> annotationValues)
Creates an annotation value instance for describing the given annotation type and values.static AnnotationValue<java.lang.Boolean,java.lang.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<java.lang.Byte,java.lang.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<java.lang.Character,java.lang.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<java.lang.Double,java.lang.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<java.lang.Float,java.lang.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<java.lang.Integer,java.lang.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<java.lang.Long,java.lang.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<java.lang.Short,java.lang.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(java.lang.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<java.lang.String,java.lang.String>
AnnotationValue.ForConstant. of(java.lang.String value)
Creates an annotation value for aString
value.static AnnotationValue<java.lang.String[],java.lang.String[]>
AnnotationValue.ForConstant. of(java.lang.String... value)
Creates an annotation value for aString[]
value.static AnnotationValue<TypeDescription[],java.lang.Class<?>[]>
AnnotationValue.ForDescriptionArray. of(TypeDescription[] typeDescription)
Creates a new complex array of annotation descriptions.static <W extends java.lang.annotation.Annotation>
AnnotationValue<AnnotationDescription[],W[]>AnnotationValue.ForDescriptionArray. of(TypeDescription annotationType, AnnotationDescription[] annotationDescription)
Creates a new complex array of annotation descriptions.static <W extends java.lang.Enum<W>>
AnnotationValue<EnumerationDescription[],W[]>AnnotationValue.ForDescriptionArray. of(TypeDescription enumerationType, EnumerationDescription[] enumerationDescription)
Creates a new complex array of enumeration descriptions.static <V extends java.lang.Enum<V>>
AnnotationValue<EnumerationDescription,V>AnnotationValue.ForEnumerationDescription. of(EnumerationDescription value)
Creates a new annotation value for the given enumeration description.static <V extends java.lang.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 that return types with arguments of type AnnotationValue Modifier and Type Method Description private static java.util.Map<java.lang.String,AnnotationValue<?,?>>
AnnotationDescription.ForLoadedAnnotation. asValue(java.lang.annotation.Annotation annotation)
Extracts the annotation values of an annotation into a property map.Methods in net.bytebuddy.description.annotation with parameters of type AnnotationValue Modifier and Type Method Description AnnotationDescription.Builder
AnnotationDescription.Builder. define(java.lang.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 java.lang.annotation.Annotation>
SAnnotationDescription.AnnotationInvocationHandler. of(java.lang.ClassLoader classLoader, java.lang.Class<S> annotationType, java.util.Map<java.lang.String,? extends AnnotationValue<?,?>> values)
Creates a proxy instance for the supplied annotation type and values.static <V extends java.lang.annotation.Annotation>
AnnotationValue<AnnotationDescription,V>AnnotationValue.ForAnnotationDescription. of(TypeDescription annotationType, java.util.Map<java.lang.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, java.util.Map<java.lang.String,AnnotationValue<?,?>> annotationValues)
Creates a builder for an annotation description.ForDescriptionArray(java.lang.Class<?> unloadedComponentType, TypeDescription componentType, java.util.List<? extends AnnotationValue<?,?>> values)
Creates a new complex array.Latent(TypeDescription annotationType, java.util.Map<java.lang.String,? extends AnnotationValue<?,?>> annotationValues)
Creates a new latent annotation description. -
Uses of AnnotationValue in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method declared as AnnotationValue Modifier and Type Field Description private AnnotationValue<?,?>
MethodDescription.Latent. defaultValue
The default value of this method ornull
if no default annotation value is defined.private AnnotationValue<?,?>
MethodDescription.Token. defaultValue
The default value of the represented method ornull
if no such value exists.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, java.lang.String internalName, int modifiers, java.util.List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic returnType, java.util.List<? extends ParameterDescription.Token> parameterTokens, java.util.List<? extends TypeDescription.Generic> exceptionTypes, java.util.List<? extends AnnotationDescription> declaredAnnotations, AnnotationValue<?,?> defaultValue, TypeDescription.Generic receiverType)
Creates a new latent method description.Token(java.lang.String name, int modifiers, java.util.List<? extends TypeVariableToken> typeVariableTokens, TypeDescription.Generic returnType, java.util.List<? extends ParameterDescription.Token> parameterTokens, java.util.List<? extends TypeDescription.Generic> exceptionTypes, java.util.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
Fields in net.bytebuddy.dynamic.scaffold declared as AnnotationValue Modifier and Type Field Description private AnnotationValue<?,?>
MethodRegistry.Handler.ForAnnotationValue. annotationValue
The annotation value to set as a default value.private AnnotationValue<?,?>
TypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue. annotationValue
The annotation value to define.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
Classes in net.bytebuddy.pool that implement AnnotationValue Modifier and Type Class Description private static class
TypePool.Default.LazyTypeDescription.LazyAnnotationValue<U,V>
A proxy for a lazy annotation value.private static class
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue
A lazy annotation value description for an annotation value.private static class
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForArray
A lazy projection of an annotation value that contains an array of values.private static class
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForEnumerationValue
A lazy annotation value description for an enumeration value.private static class
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForTypeValue
A lazy annotation value description for a type value.Fields in net.bytebuddy.pool declared as AnnotationValue Modifier and Type Field Description private AnnotationValue<?,?>
TypePool.Default.LazyTypeDescription.LazyMethodDescription. defaultValue
The default value of this method ornull
if no such value exists.private AnnotationValue<?,?>
TypePool.Default.LazyTypeDescription.MethodToken. defaultValue
The default value of this method ornull
if there is no such value.private AnnotationValue<?,?>
TypePool.Default.TypeExtractor.MethodExtractor. defaultValue
The default value of the found method ornull
if no such value exists.Fields in net.bytebuddy.pool with type parameters of type AnnotationValue Modifier and Type Field Description private java.util.Map<java.lang.String,AnnotationValue<?,?>>
TypePool.Default.AnnotationRegistrant.AbstractBase. values
The values that were collected so far.private java.util.Map<java.lang.String,AnnotationValue<?,?>>
TypePool.Default.LazyTypeDescription.AnnotationToken. values
A map of annotation value names to their value representations.protected java.util.Map<java.lang.String,AnnotationValue<?,?>>
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription. values
A map of annotation values by their property name.private java.util.List<AnnotationValue<?,?>>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForArray. values
A list of all values of this array value in their order.private java.util.Map<java.lang.String,AnnotationValue<?,?>>
TypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup. values
This annotation's values mapped by their attribute name.private java.util.List<AnnotationValue<?,?>>
TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup. values
A list of all annotation values that are found on this array.Methods in net.bytebuddy.pool that return AnnotationValue Modifier and Type Method Description protected abstract AnnotationValue<U,V>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue. doResolve()
Resolves the actual annotation value.protected AnnotationValue<AnnotationDescription,java.lang.annotation.Annotation>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForAnnotationValue. doResolve()
protected AnnotationValue<java.lang.Object,java.lang.Object>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForArray. doResolve()
protected AnnotationValue<EnumerationDescription,java.lang.Enum<?>>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForEnumerationValue. doResolve()
protected AnnotationValue<TypeDescription,java.lang.Class<?>>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForTypeValue. doResolve()
AnnotationValue<U,V>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<?,?>
TypePool.Default.LazyTypeDescription.LazyMethodDescription. getDefaultValue()
Returns the method's default annotation value ornull
if no default value is defined for this method.AnnotationValue<?,?>
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription. getValue(MethodDescription.InDefinedShape property)
Returns the value of this annotation.Methods in net.bytebuddy.pool that return types with arguments of type AnnotationValue Modifier and Type Method Description protected java.util.Map<java.lang.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(java.lang.String name, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.AnnotationRegistrant. register(java.lang.String name, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup. register(java.lang.String name, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup. register(java.lang.String ignored, AnnotationValue<?,?> annotationValue)
Registers an annotation value.void
TypePool.Default.TypeExtractor.MethodExtractor. register(java.lang.String ignored, AnnotationValue<?,?> annotationValue)
Registers an annotation value.Constructors in net.bytebuddy.pool with parameters of type AnnotationValue Constructor Description LazyMethodDescription(java.lang.String internalName, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod signatureResolution, java.lang.String[] exceptionTypeInternalName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.MethodToken.ParameterToken> parameterTokens, AnnotationValue<?,?> defaultValue)
Creates a new lazy method description.MethodToken(java.lang.String name, int modifiers, java.lang.String descriptor, java.lang.String genericSignature, java.lang.String[] exceptionName, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> typeVariableAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> typeVariableBoundAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> returnTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> parameterTypeAnnotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> exceptionTypeAnnotationTokens, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> receiverTypeAnnotationTokens, java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens, java.util.Map<java.lang.Integer,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> parameterAnnotationTokens, java.util.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 AnnotationValue Constructor Description AnnotationToken(java.lang.String descriptor, java.util.Map<java.lang.String,AnnotationValue<?,?>> values)
Creates a new annotation token.ForArray(TypePool typePool, TypePool.AbstractBase.ComponentTypeReference componentTypeReference, java.util.List<AnnotationValue<?,?>> values)
Creates a lazy projection for a non-primitive array.LazyAnnotationDescription(TypePool typePool, TypeDescription annotationType, java.util.Map<java.lang.String,AnnotationValue<?,?>> values)
Creates a new lazy annotation description.Loadable(TypePool typePool, java.lang.Class<S> annotationType, java.util.Map<java.lang.String,AnnotationValue<?,?>> values)
Creates a new loadable version of a lazy annotation.
-