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 class
AnnotationAppender.Default
A 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 AnnotationAppender
AnnotationAppender.ForTypeAnnotations. annotationAppender
The annotation appender to use.Methods in net.bytebuddy.implementation.attribute that return AnnotationAppender Modifier and Type Method Description AnnotationAppender
AnnotationAppender. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter)
Writes the given annotation to the target that this appender represents.AnnotationAppender
AnnotationAppender. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter, int typeReference, java.lang.String typePath)
Writes the given type annotation to the target that this appender represents.AnnotationAppender
AnnotationAppender.Default. append(AnnotationDescription annotationDescription, AnnotationValueFilter annotationValueFilter)
Writes the given annotation to the target that this appender represents.AnnotationAppender
AnnotationAppender.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 AnnotationAppender
MethodAttributeAppender.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 AnnotationAppender
AnnotationAppender.ForTypeAnnotations. apply(TypeDescription.Generic typeDescription, java.lang.String typePath)
Writes all annotations of the supplied type to this instance's annotation appender.static AnnotationAppender
AnnotationAppender.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 AnnotationAppender
AnnotationAppender.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.AnnotationAppender
AnnotationAppender.ForTypeAnnotations. onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY
).AnnotationAppender
AnnotationAppender.ForTypeAnnotations. onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC
).AnnotationAppender
AnnotationAppender.ForTypeAnnotations. onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED
).AnnotationAppender
AnnotationAppender.ForTypeAnnotations. onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (TypeDefinition.Sort.VARIABLE
,TypeDefinition.Sort.VARIABLE_SYMBOLIC
).AnnotationAppender
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 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 AnnotationAppender
MethodAttributeAppender.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 AnnotationAppender
AnnotationAppender.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 AnnotationAppender
AnnotationAppender.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.
-