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 aDynamicTypeby 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 creatingTypeDescriptions 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 protected static classAnnotationDescription.AnnotationInvocationHandler.MissingValueRepresents a missing annotation property which is not represented by a default value.static classAnnotationValue.AbstractBase<U,V>An abstract base implementation of an unloaded annotation value.static classAnnotationValue.ForAnnotationDescription<U extends java.lang.annotation.Annotation>A description of anAnnotationas a value of another annotation.static classAnnotationValue.ForConstant<U>Represents a primitive value, aStringor an array of the latter types.static classAnnotationValue.ForDescriptionArray<U,V>Describes a complex array that is the value of an annotation.static classAnnotationValue.ForEnumerationDescription<U extends java.lang.Enum<U>>A description of anEnumas a value of an annotation.static classAnnotationValue.ForTypeDescription<U extends java.lang.Class<U>>A description of aClassas a value of an annotation.Fields in net.bytebuddy.description.annotation declared as AnnotationValue Modifier and Type Field Description static AnnotationValue<?,?>AnnotationValue. UNDEFINEDAn undefined annotation value.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<?,?>AnnotationDescription.ForLoadedAnnotation. getValue(MethodDescription.InDefinedShape property)AnnotationValue<?,?>AnnotationDescription. getValue(MethodDescription.InDefinedShape property)Returns the value of this annotation.AnnotationValue<?,?>AnnotationDescription.Latent. getValue(MethodDescription.InDefinedShape property)AnnotationValue<?,?>AnnotationDescription.Latent.Loadable. getValue(MethodDescription.InDefinedShape property)protected static AnnotationValue<?,?>AnnotationDescription.AnnotationInvocationHandler.MissingValue. of(java.lang.reflect.Method method)Creates a missing value for the supplied annotation property.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 abooleanvalue.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 abytevalue.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 acharvalue.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 adoublevalue.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 afloatvalue.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 aintvalue.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 alongvalue.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 ashortvalue.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 anyStringvalue or array.static AnnotationValue<java.lang.String,java.lang.String>AnnotationValue.ForConstant. of(java.lang.String value)Creates an annotation value for aStringvalue.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 with parameters of type AnnotationValue Modifier and Type Method Description AnnotationDescription.BuilderAnnotationDescription.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
Methods in net.bytebuddy.description.method that return AnnotationValue Modifier and Type Method Description AnnotationValue<?,?>MethodDescription.ForLoadedConstructor. getDefaultValue()AnnotationValue<?,?>MethodDescription.ForLoadedMethod. getDefaultValue()AnnotationValue<?,?>MethodDescription. getDefaultValue()Returns the method's default annotation value ornullif no default value is defined for this method.AnnotationValue<?,?>MethodDescription.Latent. getDefaultValue()AnnotationValue<?,?>MethodDescription.Latent.TypeInitializer. getDefaultValue()AnnotationValue<?,?>MethodDescription.Token. getDefaultValue()Returns the default value of the represented method.AnnotationValue<?,?>MethodDescription.TypeSubstituting. getDefaultValue()Methods in net.bytebuddy.description.method with parameters of type AnnotationValue Modifier and Type Method Description booleanMethodDescription.AbstractBase. isDefaultValue(AnnotationValue<?,?> annotationValue)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 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()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)DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter. defaultValue(AnnotationValue<?,?> annotationValue)DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter. defaultValue(AnnotationValue<?,?> annotationValue)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)DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<X>DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter. defaultValue(AnnotationValue<?,?> annotationValue)DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<X>DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter. defaultValue(AnnotationValue<?,?> annotationValue) -
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()AnnotationValue<?,?>TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget. getDefaultValue()AnnotationValue<?,?>TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge. getDefaultValue()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()AnnotationValue<?,?>MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod. getDefaultValue() -
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()AnnotationValue<?,?>Implementation.Context.Default.FieldGetter. getDefaultValue()AnnotationValue<?,?>Implementation.Context.Default.FieldSetter. getDefaultValue() -
Uses of AnnotationValue in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement AnnotationValue Modifier and Type Class Description protected static classTypePool.AbstractBase.RawAnnotationValueRepresents a nested annotation value.protected static classTypePool.AbstractBase.RawDescriptionArrayRepresents an array that is referenced by an annotation which does not contain primitive values orStrings.protected static classTypePool.AbstractBase.RawEnumerationValueRepresents an enumeration value of an annotation.protected static classTypePool.AbstractBase.RawTypeValueRepresents a type value of an 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 voidTypePool.Default.AnnotationRegistrant.AbstractBase. register(java.lang.String name, AnnotationValue<?,?> annotationValue)voidTypePool.Default.AnnotationRegistrant. register(java.lang.String name, AnnotationValue<?,?> annotationValue)Registers an annotation value.voidTypePool.Default.TypeExtractor.AnnotationExtractor.AnnotationLookup. register(java.lang.String name, AnnotationValue<?,?> annotationValue)voidTypePool.Default.TypeExtractor.AnnotationExtractor.ArrayLookup. register(java.lang.String ignored, AnnotationValue<?,?> annotationValue)voidTypePool.Default.TypeExtractor.MethodExtractor. register(java.lang.String ignored, AnnotationValue<?,?> annotationValue)Constructors in net.bytebuddy.pool with parameters of type AnnotationValue Constructor 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.RawDescriptionArray(TypePool typePool, TypePool.AbstractBase.RawDescriptionArray.ComponentTypeReference componentTypeReference, java.util.List<AnnotationValue<?,?>> values)Creates a new array value representation of a complex array.
-