Top Description Inners Methods
net.bytebuddy.implementation.attribute

public Interface MethodAttributeAppender

Known Direct Implementers
net.bytebuddy.implementation.attribute.MethodAttributeAppender.NoOp, net.bytebuddy.implementation.attribute.MethodAttributeAppender.ForInstrumentedMethod, net.bytebuddy.implementation.attribute.MethodAttributeAppender.Explicit, net.bytebuddy.implementation.attribute.MethodAttributeAppender.ForReceiverType, net.bytebuddy.implementation.attribute.MethodAttributeAppender.Compound, net.bytebuddy.build.DispatcherAnnotationPlugin, net.bytebuddy.build.HashCodeAndEqualsPlugin
Imports
net.bytebuddy.build.HashCodeAndEqualsPlugin, net.bytebuddy.description.annotation.AnnotationDescription, net.bytebuddy.description.method.MethodDescription, .ParameterDescription, .ParameterList, net.bytebuddy.description.type.TypeDescription, net.bytebuddy.jar.asm.MethodVisitor, java.util.ArrayList, .Arrays, .List

An appender that writes attributes or annotations to a given ASM net.bytebuddy.jar.asm.MethodVisitor.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
MethodAttributeAppender.Compound

A method attribute appender that combines several method attribute appenders to be represented as a single method attribute appender.

public static class
MethodAttributeAppender.Explicit

Appends an annotation to a method or method parameter.

public static interface
MethodAttributeAppender.Factory

A factory that creates method attribute appenders for a given type.

public static enum
MethodAttributeAppender.ForInstrumentedMethod

Implementation of a method attribute appender that writes all annotations of the instrumented method to the method that is being created.

public static class
MethodAttributeAppender.ForReceiverType

A method attribute appender that writes a receiver type.

public static enum
MethodAttributeAppender.NoOp

A method attribute appender that does not append any attributes.

Method Summary

Modifier and TypeMethod and Description
public void
apply(MethodVisitor
The method visitor to which the attributes that are represented by this attribute appender are written to.
methodVisitor
,
MethodDescription
The description of the method for which the given method visitor creates an instrumentation for.
methodDescription
,
AnnotationValueFilter
The annotation value filter to apply when the annotations are written.
annotationValueFilter
)

Applies this attribute appender to a given method visitor.