Uses of Interface
net.bytebuddy.implementation.attribute.AnnotationAppender
Packages that use AnnotationAppender
Package
Description
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
-
Uses of AnnotationAppender in net.bytebuddy.implementation.attribute
Classes in net.bytebuddy.implementation.attribute that implement AnnotationAppenderModifier and TypeClassDescriptionstatic classA default implementation for an annotation appender that writes annotations to a given byte consumer represented by an ASMAnnotationVisitor.Classes in net.bytebuddy.implementation.attribute that implement interfaces with type arguments of type AnnotationAppenderModifier and TypeClassDescriptionstatic classA type visitor that visits all type annotations of a generic type and writes any discovered annotation to a suppliedAnnotationAppender.Fields in net.bytebuddy.implementation.attribute declared as AnnotationAppenderModifier and TypeFieldDescriptionprivate final AnnotationAppenderAnnotationAppender.ForTypeAnnotations.annotationAppenderThe annotation appender to use.Methods in net.bytebuddy.implementation.attribute that return AnnotationAppenderModifier and TypeMethodDescriptionAnnotationAppender.append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter) Writes the given annotation to the target that this appender represents.AnnotationAppender.append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, String typePath) Writes the given type annotation to the target that this appender represents.AnnotationAppender.Default.append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter) Writes the given annotation to the target that this appender represents.AnnotationAppender.Default.append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, String typePath) Writes the given type annotation to the target that this appender represents.protected abstract AnnotationAppenderMethodAttributeAppender.ForInstrumentedMethod.appendReceiver(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, MethodDescription methodDescription) Appends the annotations of the instrumented method's receiver type if this is enabled and such a type exists.private AnnotationAppenderAnnotationAppender.ForTypeAnnotations.apply(TypeDescription.Generic typeDescription, String typePath) Writes all annotations of the supplied type to this instance's annotation appender.static AnnotationAppenderAnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, boolean variableOnType, int subListIndex, List<? extends TypeDescription.Generic> typeVariables) Appends all supplied type variables to the supplied method appender.static AnnotationAppenderAnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, boolean variableOnType, List<? extends TypeDescription.Generic> typeVariables) Appends all supplied type variables to the supplied method appender.AnnotationAppender.ForTypeAnnotations.onGenericArray(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY).AnnotationAppender.ForTypeAnnotations.onNonGenericType(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC).AnnotationAppender.ForTypeAnnotations.onParameterizedType(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED).AnnotationAppender.ForTypeAnnotations.onTypeVariable(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE,TypeDefinition.Sort.VARIABLE_SYMBOLIC).AnnotationAppender.ForTypeAnnotations.onWildcard(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD).Methods in net.bytebuddy.implementation.attribute that return types with arguments of type AnnotationAppenderModifier and TypeMethodDescriptionAnnotationAppender.ForTypeAnnotations.ofExceptionType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of a method's exception type.AnnotationAppender.ForTypeAnnotations.ofFieldType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a field's type.AnnotationAppender.ForTypeAnnotations.ofInterfaceType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of an interface type.AnnotationAppender.ForTypeAnnotations.ofMethodParameterType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of a method's parameter type.AnnotationAppender.ForTypeAnnotations.ofMethodReturnType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a method's return type.AnnotationAppender.ForTypeAnnotations.ofReceiverType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a method's receiver type.AnnotationAppender.ForTypeAnnotations.ofSuperClass(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for a type annotations of a super class type.Methods in net.bytebuddy.implementation.attribute with parameters of type AnnotationAppenderModifier and TypeMethodDescriptionprotected abstract AnnotationAppenderMethodAttributeAppender.ForInstrumentedMethod.appendReceiver(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, MethodDescription methodDescription) Appends the annotations of the instrumented method's receiver type if this is enabled and such a type exists.AnnotationAppender.ForTypeAnnotations.ofExceptionType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of a method's exception type.AnnotationAppender.ForTypeAnnotations.ofFieldType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a field's type.AnnotationAppender.ForTypeAnnotations.ofInterfaceType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of an interface type.AnnotationAppender.ForTypeAnnotations.ofMethodParameterType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) Creates a type annotation appender for type annotations of a method's parameter type.AnnotationAppender.ForTypeAnnotations.ofMethodReturnType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a method's return type.AnnotationAppender.ForTypeAnnotations.ofReceiverType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for type annotations of a method's receiver type.AnnotationAppender.ForTypeAnnotations.ofSuperClass(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter) Creates a type annotation appender for a type annotations of a super class type.static AnnotationAppenderAnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, boolean variableOnType, int subListIndex, List<? extends TypeDescription.Generic> typeVariables) Appends all supplied type variables to the supplied method appender.static AnnotationAppenderAnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, boolean variableOnType, List<? extends TypeDescription.Generic> typeVariables) Appends all supplied type variables to the supplied method appender.Constructors in net.bytebuddy.implementation.attribute with parameters of type AnnotationAppenderModifierConstructorDescriptionprotectedForTypeAnnotations(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int typeReference, String typePath) Creates a new type annotation appending visitor.protectedForTypeAnnotations(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, org.objectweb.asm.TypeReference typeReference) Creates a new type annotation appending visitor for an empty type path.