Uses of Interface
net.bytebuddy.description.annotation.AnnotationDescription
-
Packages that use AnnotationDescription Package Description net.bytebuddy.description.annotation Contains descriptions of annotations and annotation values.net.bytebuddy.description.field Contains descriptions of Java fields.net.bytebuddy.description.method Contains descriptions of Java methods and constructors as well as their parameters.net.bytebuddy.description.type Contains descriptions of Java types and packages.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.implementation.attribute All types and classes in this package are responsible for writing attributes for a given Java byte code element, i.e.net.bytebuddy.implementation.bind.annotation This package contains annotations, types and classes that are responsible for binding a method to calling another method by interpreting annotations that indicate how a method should be bound to another method.net.bytebuddy.matcher Contains an API for matching Java byte code entities.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescriptions without loading any classes. -
-
Uses of AnnotationDescription in net.bytebuddy.description.annotation
Subinterfaces of AnnotationDescription in net.bytebuddy.description.annotation Modifier and Type Interface Description static interfaceAnnotationDescription.Loadable<S extends java.lang.annotation.Annotation>An annotation description that is linked to a given loaded annotation type which allows its representation as a fully loaded instance.Classes in net.bytebuddy.description.annotation that implement AnnotationDescription Modifier and Type Class Description static classAnnotationDescription.AbstractBaseAn adapter implementation of an annotation.static classAnnotationDescription.AbstractBase.ForPrepared<S extends java.lang.annotation.Annotation>An abstract implementation of a loadable annotation description.static classAnnotationDescription.ForLoadedAnnotation<S extends java.lang.annotation.Annotation>A description of an already loaded annotation.static classAnnotationDescription.LatentA latent description of an annotation value that is defined explicitly.protected classAnnotationDescription.Latent.Loadable<S extends java.lang.annotation.Annotation>A loadable annotation description of a latent annotation description.Methods in net.bytebuddy.description.annotation that return AnnotationDescription Modifier and Type Method Description AnnotationDescriptionAnnotationDescription.Builder. build()Creates an annotation description for the values that were defined for this builder.AnnotationDescriptionAnnotationList.Explicit. get(int index)AnnotationDescriptionAnnotationList.ForLoadedAnnotations. get(int index)AnnotationDescriptionAnnotationList.AbstractBase. ofType(TypeDescription annotationType)AnnotationDescriptionAnnotationList.Empty. ofType(TypeDescription annotationType)AnnotationDescriptionAnnotationList. ofType(TypeDescription annotationType)Finds the first annotation of the given type and returns it.AnnotationDescriptionAnnotationValue.ForAnnotationDescription. resolve()Methods in net.bytebuddy.description.annotation that return types with arguments of type AnnotationDescription Modifier and Type Method Description 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.Methods in net.bytebuddy.description.annotation with parameters of type AnnotationDescription Modifier and Type Method Description AnnotationDescription.BuilderAnnotationDescription.Builder. define(java.lang.String property, AnnotationDescription annotationDescription)Returns a builder with the additional annotation property.AnnotationDescription.BuilderAnnotationDescription.Builder. defineAnnotationArray(java.lang.String property, TypeDescription annotationType, AnnotationDescription... annotationDescription)Returns a builder with the additional annotation array property.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.Method parameters in net.bytebuddy.description.annotation with type arguments of type AnnotationDescription Modifier and Type Method Description static java.util.List<AnnotationList>AnnotationList.Explicit. asList(java.util.List<? extends java.util.List<? extends AnnotationDescription>> annotations)Creates a list of annotation lists for a given multidimensional list of annotation descriptions.protected AnnotationListAnnotationList.AbstractBase. wrap(java.util.List<AnnotationDescription> values)Constructors in net.bytebuddy.description.annotation with parameters of type AnnotationDescription Constructor Description Explicit(AnnotationDescription... annotationDescription)Creates a new list of annotation descriptions.Explicit(AnnotationDescription... annotation)Creates a new explicit annotation source.ForAnnotationDescription(AnnotationDescription annotationDescription)Creates a new annotation value for a given annotation description.Constructor parameters in net.bytebuddy.description.annotation with type arguments of type AnnotationDescription Constructor Description Explicit(java.util.List<? extends AnnotationDescription> annotationDescriptions)Creates a new list of annotation descriptions.Explicit(java.util.List<? extends AnnotationDescription> annotations)Creates a new explicit annotation source. -
Uses of AnnotationDescription in net.bytebuddy.description.field
Constructor parameters in net.bytebuddy.description.field with type arguments of type AnnotationDescription Constructor Description Latent(TypeDescription declaringType, java.lang.String fieldName, int modifiers, TypeDescription.Generic fieldType, java.util.List<? extends AnnotationDescription> declaredAnnotations)Creates a new latent field description.Token(java.lang.String name, int modifiers, TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations)Creates a new field token. -
Uses of AnnotationDescription in net.bytebuddy.description.method
Constructor parameters in net.bytebuddy.description.method with type arguments of type AnnotationDescription Constructor Description Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, java.util.List<? extends AnnotationDescription> declaredAnnotations, java.lang.String name, java.lang.Integer modifiers, int index, int offset)Creates a latent parameter description.Token(TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations)Creates a new parameter token without an explicit name or an explicit modifier.Token(TypeDescription.Generic type, java.util.List<? extends AnnotationDescription> annotations, java.lang.String name, java.lang.Integer modifiers)Creates a new parameter token. -
Uses of AnnotationDescription in net.bytebuddy.description.type
Fields in net.bytebuddy.description.type with type parameters of type AnnotationDescription Modifier and Type Field Description protected java.util.List<? extends AnnotationDescription>TypeDescription.Generic.Builder. annotationsThe type annotations of the current annotated type.Methods in net.bytebuddy.description.type with parameters of type AnnotationDescription Modifier and Type Method Description TypeDescription.Generic.BuilderTypeDescription.Generic.Builder. annotate(AnnotationDescription... annotation)Defines type annotations to be declared by the current type.TypeDescription.GenericTypeDescription.Generic.Builder. asWildcardLowerBound(AnnotationDescription... annotation)Transforms this type into the lower bound of a wildcard type.TypeDescription.GenericTypeDescription.Generic.Builder. asWildcardUpperBound(AnnotationDescription... annotation)Transforms this type into the upper bound of a wildcard type.TypeDescription.GenericTypeDescription.Generic.Builder. build(AnnotationDescription... annotation)Finalizes the build and finalizes the created type as a generic type description.static TypeDescription.GenericTypeDescription.Generic.Builder. unboundWildcard(AnnotationDescription... annotation)Creates an unbound wildcard.Method parameters in net.bytebuddy.description.type with type arguments of type AnnotationDescription Modifier and Type Method Description TypeDescription.Generic.BuilderTypeDescription.Generic.Builder. annotate(java.util.Collection<? extends AnnotationDescription> annotations)Defines type annotations to be declared by the current type.TypeDescription.GenericTypeDescription.Generic.Builder. asWildcardLowerBound(java.util.Collection<? extends AnnotationDescription> annotations)Transforms this type into the lower bound of a wildcard type.TypeDescription.GenericTypeDescription.Generic.Builder. asWildcardUpperBound(java.util.Collection<? extends AnnotationDescription> annotations)Transforms this type into the upper bound of a wildcard type.TypeDescription.GenericTypeDescription.Generic.Builder. build(java.util.Collection<? extends AnnotationDescription> annotations)Finalizes the build and finalizes the created type as a generic type description.protected abstract TypeDescription.Generic.BuilderTypeDescription.Generic.Builder. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)Creates a new builder for the current type and the applied type annotations.protected TypeDescription.Generic.BuilderTypeDescription.Generic.Builder.OfGenericArrayType. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)protected TypeDescription.Generic.BuilderTypeDescription.Generic.Builder.OfNonGenericType. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)protected TypeDescription.Generic.BuilderTypeDescription.Generic.Builder.OfParameterizedType. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)protected TypeDescription.Generic.BuilderTypeDescription.Generic.Builder.OfTypeVariable. doAnnotate(java.util.List<? extends AnnotationDescription> annotations)static TypeDescription.GenericTypeDescription.Generic.Builder. unboundWildcard(java.util.Collection<? extends AnnotationDescription> annotations)Creates an unbound wildcard.Constructor parameters in net.bytebuddy.description.type with type arguments of type AnnotationDescription Constructor Description Builder(java.util.List<? extends AnnotationDescription> annotations)Creates a new builder for a generic type description.OfGenericArrayType(TypeDescription.Generic componentType, java.util.List<? extends AnnotationDescription> annotations)Creates a type builder for building a generic array type.OfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType, java.util.List<? extends AnnotationDescription> annotations)Creates a builder for a non-generic type.OfTypeVariable(java.lang.String symbol, java.util.List<? extends AnnotationDescription> annotations)Creates a new builder for a symbolic type variable. -
Uses of AnnotationDescription in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic with parameters of type AnnotationDescription Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Optional<S>DynamicType.Builder.FieldDefinition. annotateField(AnnotationDescription... annotation)Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.FieldDefinition.Optional<U>DynamicType.Builder.FieldDefinition.Optional.AbstractBase. annotateField(AnnotationDescription... annotation)DynamicType.Builder.MethodDefinition<U>DynamicType.Builder.MethodDefinition.AbstractBase. annotateMethod(AnnotationDescription... annotation)DynamicType.Builder.MethodDefinition<S>DynamicType.Builder.MethodDefinition. annotateMethod(AnnotationDescription... annotation)Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition<U>DynamicType.Builder.MethodDefinition.AbstractBase. annotateParameter(int index, AnnotationDescription... annotation)DynamicType.Builder.MethodDefinition<S>DynamicType.Builder.MethodDefinition. annotateParameter(int index, AnnotationDescription... annotation)Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<W>DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase. annotateParameter(AnnotationDescription... annotation)DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable. annotateParameter(AnnotationDescription... annotation)Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<W>DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase. annotateParameter(AnnotationDescription... annotation)DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable. annotateParameter(AnnotationDescription... annotation)Annotates the previously defined parameter with the specified annotations.DynamicType.Builder<S>DynamicType.Builder.AbstractBase. annotateType(AnnotationDescription... annotation)DynamicType.Builder<T>DynamicType.Builder. annotateType(AnnotationDescription... annotation)Annotates the instrumented type with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<W>DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase. annotateTypeVariable(AnnotationDescription... annotation)DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable. annotateTypeVariable(AnnotationDescription... annotation)Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<U>DynamicType.Builder.TypeVariableDefinition.AbstractBase. annotateTypeVariable(AnnotationDescription... annotation)DynamicType.Builder.TypeVariableDefinition<S>DynamicType.Builder.TypeVariableDefinition. annotateTypeVariable(AnnotationDescription... annotation)Annotates the previously defined type variable with the supplied annotations.Method parameters in net.bytebuddy.dynamic with type arguments of type AnnotationDescription Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Optional<U>DynamicType.Builder.AbstractBase.Adapter.FieldDefinitionAdapter. annotateField(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.FieldDefinition.Optional<U>DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter. annotateField(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.FieldDefinition.Optional<S>DynamicType.Builder.FieldDefinition. annotateField(java.util.Collection<? extends AnnotationDescription> annotations)Annotates the previously defined or matched field with the supplied annotations.DynamicType.Builder.MethodDefinition<U>DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter. annotateMethod(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.MethodDefinition<U>DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter. annotateMethod(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.MethodDefinition<S>DynamicType.Builder.MethodDefinition. annotateMethod(java.util.Collection<? extends AnnotationDescription> annotations)Annotates the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition<U>DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter. annotateParameter(int index, java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<U>DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.ParameterAnnotationAdapter. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<U>DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.SimpleParameterAnnotationAdapter. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.MethodDefinition<U>DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter. annotateParameter(int index, java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.MethodDefinition<S>DynamicType.Builder.MethodDefinition. annotateParameter(int index, java.util.Collection<? extends AnnotationDescription> annotations)Annotates the parameter of the given index of the previously defined or matched method with the supplied annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable<V>DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)Annotates the previously defined parameter with the specified annotations.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable<V>DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable. annotateParameter(java.util.Collection<? extends AnnotationDescription> annotations)Annotates the previously defined parameter with the specified annotations.DynamicType.Builder<U>DynamicType.Builder.AbstractBase.Adapter. annotateType(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder<U>DynamicType.Builder.AbstractBase.Delegator. annotateType(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder<T>DynamicType.Builder. annotateType(java.util.Collection<? extends AnnotationDescription> annotations)Annotates the instrumented type with the supplied annotations.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<U>DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.TypeVariableAnnotationAdapter. annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.TypeVariableDefinition<U>DynamicType.Builder.AbstractBase.Adapter.TypeVariableDefinitionAdapter. annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable<V>DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable. annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)Annotates the previously defined type variable with the supplied annotations.DynamicType.Builder.TypeVariableDefinition<S>DynamicType.Builder.TypeVariableDefinition. annotateTypeVariable(java.util.Collection<? extends AnnotationDescription> annotations)Annotates the previously defined type variable with the supplied annotations. -
Uses of AnnotationDescription in net.bytebuddy.dynamic.scaffold
Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type AnnotationDescription Modifier and Type Method Description InstrumentedType.WithFlexibleNameInstrumentedType.Default. withAnnotations(java.util.List<? extends AnnotationDescription> annotationDescriptions)InstrumentedType.WithFlexibleNameInstrumentedType.Frozen. withAnnotations(java.util.List<? extends AnnotationDescription> annotationDescriptions)InstrumentedTypeInstrumentedType. withAnnotations(java.util.List<? extends AnnotationDescription> annotationDescriptions)Creates a new instrumented type with the given annotations.InstrumentedType.WithFlexibleNameInstrumentedType.WithFlexibleName. withAnnotations(java.util.List<? extends AnnotationDescription> annotationDescriptions) -
Uses of AnnotationDescription in net.bytebuddy.implementation.attribute
Methods in net.bytebuddy.implementation.attribute with parameters of type AnnotationDescription Modifier and Type Method Description AnnotationAppenderAnnotationAppender. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter)Writes the given annotation to the target that this appender represents.AnnotationAppenderAnnotationAppender. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, java.lang.String typePath)Writes the given type annotation to the target that this appender represents.AnnotationAppenderAnnotationAppender.Default. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter)AnnotationAppenderAnnotationAppender.Default. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, java.lang.String typePath)booleanAnnotationValueFilter. isRelevant(AnnotationDescription annotationDescription, MethodDescription.InDefinedShape methodDescription)Checks if the given annotation value should be written as the value of the provided annotation property.Constructor parameters in net.bytebuddy.implementation.attribute with type arguments of type AnnotationDescription Constructor Description Explicit(java.util.List<? extends AnnotationDescription> annotations)Creates a new annotation attribute appender for explicit annotation values.Explicit(int parameterIndex, java.util.List<? extends AnnotationDescription> annotations)Creates a new appender for appending an annotation to a method.Explicit(java.util.List<? extends AnnotationDescription> annotations)Creates a new appender for appending an annotation to a method.Explicit(MethodAttributeAppender.Explicit.Target target, java.util.List<? extends AnnotationDescription> annotations)Creates an explicit annotation appender for a either a method or one of its parameters..Explicit(java.util.List<? extends AnnotationDescription> annotations)Creates a new annotation attribute appender for explicit annotation values. -
Uses of AnnotationDescription in net.bytebuddy.implementation.bind.annotation
Methods in net.bytebuddy.implementation.bind.annotation with parameters of type AnnotationDescription Modifier and Type Method Description protected static TargetMethodAnnotationDrivenBinder.DelegationProcessor.HandlerTargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound. of(ParameterDescription target, TargetMethodAnnotationDrivenBinder.ParameterBinder<?> parameterBinder, AnnotationDescription annotation, Assigner.Typing typing)Creates a handler for a given annotation. -
Uses of AnnotationDescription in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher with type parameters of type AnnotationDescription Modifier and Type Class Description classAnnotationTypeMatcher<T extends AnnotationDescription>An element matcher that matches the type of an annotation description.Methods in net.bytebuddy.matcher with type parameters of type AnnotationDescription Modifier and Type Method Description static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. annotationType(java.lang.Class<? extends java.lang.annotation.Annotation> type)Matches if an annotation is of a given type.static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. annotationType(TypeDescription type)Matches if an annotation is of a given type.static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. annotationType(ElementMatcher<? super TypeDescription> matcher)Matches if an annotation's type matches the supplied matcher.static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. anyOf(java.lang.annotation.Annotation... value)Creates a matcher that matches any of the given annotations asAnnotationDescriptions by theObject.equals(Object)method.static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. is(java.lang.annotation.Annotation annotation)Exactly matches a given annotation as anAnnotationDescription.static <T extends AnnotationDescription>
ElementMatcher.Junction<T>ElementMatchers. noneOf(java.lang.annotation.Annotation... value)Creates a matcher that matches none of the given annotations asAnnotationDescriptions by theObject.equals(Object)method.Method parameters in net.bytebuddy.matcher with type arguments of type AnnotationDescription Modifier and Type Method Description static <T extends AnnotationSource>
ElementMatcher.Junction<T>ElementMatchers. declaresAnnotation(ElementMatcher<? super AnnotationDescription> matcher)Matches anAnnotationSourceto declare any annotation that matches the given matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T>ElementMatchers. hasAnnotation(ElementMatcher<? super AnnotationDescription> matcher)Matches a list of annotations by a given matcher on a type that declared these annotations or inherited them from its super classes. -
Uses of AnnotationDescription in net.bytebuddy.pool
Methods in net.bytebuddy.pool that return AnnotationDescription Modifier and Type Method Description AnnotationDescriptionTypePool.AbstractBase.RawAnnotationValue. resolve()AnnotationDescriptionTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Illegal. resolve()AnnotationDescriptionTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution. resolve()Returns the resolved annotation.AnnotationDescriptionTypePool.Default.LazyTypeDescription.AnnotationToken.Resolution.Simple. resolve()Constructors in net.bytebuddy.pool with parameters of type AnnotationDescription Constructor Description Simple(AnnotationDescription annotationDescription)Creates a new simple resolution.
-