Uses of Interface
net.bytebuddy.implementation.attribute.AnnotationAppender
-
Packages that use AnnotationAppender Package Description 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. -
-
Uses of AnnotationAppender in net.bytebuddy.implementation.attribute
Classes in net.bytebuddy.implementation.attribute that implement AnnotationAppender Modifier and Type Class Description static classAnnotationAppender.DefaultA default implementation for an annotation appender that writes annotations to a given byte consumer represented by an ASMAnnotationVisitor.Fields in net.bytebuddy.implementation.attribute declared as AnnotationAppender Modifier and Type Field Description private AnnotationAppenderAnnotationAppender.ForTypeAnnotations. annotationAppenderThe annotation appender to use.Methods in net.bytebuddy.implementation.attribute that return AnnotationAppender 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)Writes the given annotation to the target that this appender represents.AnnotationAppenderAnnotationAppender.Default. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, java.lang.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, java.lang.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, java.util.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, java.util.List<? extends TypeDescription.Generic> typeVariables)Appends all supplied type variables to the supplied method appender.AnnotationAppenderAnnotationAppender.ForTypeAnnotations. onGenericArray(TypeDescription.Generic genericArray)Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY).AnnotationAppenderAnnotationAppender.ForTypeAnnotations. onNonGenericType(TypeDescription.Generic typeDescription)Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC).AnnotationAppenderAnnotationAppender.ForTypeAnnotations. onParameterizedType(TypeDescription.Generic parameterizedType)Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED).AnnotationAppenderAnnotationAppender.ForTypeAnnotations. onTypeVariable(TypeDescription.Generic typeVariable)Visits a type variable (TypeDefinition.Sort.VARIABLE,TypeDefinition.Sort.VARIABLE_SYMBOLIC).AnnotationAppenderAnnotationAppender.ForTypeAnnotations. onWildcard(TypeDescription.Generic wildcard)Visits a wildcard (TypeDefinition.Sort.WILDCARD).Methods in net.bytebuddy.implementation.attribute that return types with arguments of type AnnotationAppender Modifier and Type Method Description static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofExceptionType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)Creates a type annotation appender for type annotations of a method's exception type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofFieldType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)Creates a type annotation appender for type annotations of a field's type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofInterfaceType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)Creates a type annotation appender for type annotations of an interface type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofMethodParameterType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)Creates a type annotation appender for type annotations of a method's parameter type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofMethodReturnType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)Creates a type annotation appender for type annotations of a method's return type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofReceiverType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)Creates a type annotation appender for type annotations of a method's receiver type.static TypeDescription.Generic.Visitor<AnnotationAppender>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 AnnotationAppender Modifier and Type Method Description 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.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofExceptionType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)Creates a type annotation appender for type annotations of a method's exception type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofFieldType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)Creates a type annotation appender for type annotations of a field's type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofInterfaceType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)Creates a type annotation appender for type annotations of an interface type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofMethodParameterType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index)Creates a type annotation appender for type annotations of a method's parameter type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofMethodReturnType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)Creates a type annotation appender for type annotations of a method's return type.static TypeDescription.Generic.Visitor<AnnotationAppender>AnnotationAppender.ForTypeAnnotations. ofReceiverType(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter)Creates a type annotation appender for type annotations of a method's receiver type.static TypeDescription.Generic.Visitor<AnnotationAppender>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, java.util.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, java.util.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 AnnotationAppender Constructor Description ForTypeAnnotations(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int typeReference, java.lang.String typePath)Creates a new type annotation appending visitor.ForTypeAnnotations(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, org.objectweb.asm.TypeReference typeReference)Creates a new type annotation appending visitor for an empty type path.
-