Uses of Interface
net.bytebuddy.implementation.attribute.MethodAttributeAppender
-
Packages that use MethodAttributeAppender Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.build A package for types that allow for applying Byte Buddy transformation during a build 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. -
-
Uses of MethodAttributeAppender in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as MethodAttributeAppender Modifier and Type Field Description private MethodAttributeAppenderMemberAttributeExtension.ForMethod.AttributeAppendingMethodVisitor. methodAttributeAppenderThe field to add annotations to.Constructors in net.bytebuddy.asm with parameters of type MethodAttributeAppender Constructor Description AttributeAppendingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, MethodAttributeAppender methodAttributeAppender, AnnotationValueFilter annotationValueFilter) -
Uses of MethodAttributeAppender in net.bytebuddy.build
Classes in net.bytebuddy.build that implement MethodAttributeAppender Modifier and Type Class Description classDispatcherAnnotationPluginA plugin that adds aJavaDispatcher.Proxiedannotation to any method of an enhanced type where the annotation is not set.classHashCodeAndEqualsPluginA build tool plugin that addsObject.hashCode()andObject.equals(Object)methods to a class if theHashCodeAndEqualsPlugin.Enhanceannotation is present and no explicit method declaration was added.static classHashCodeAndEqualsPlugin.WithNonNullableFieldsA version of theHashCodeAndEqualsPluginthat assumes that all fields are non-nullable unless they are explicitly marked.protected static classSafeVarargsPlugin.SafeVarargsAppenderAppends the varargs annotation.Methods in net.bytebuddy.build that return MethodAttributeAppender Modifier and Type Method Description MethodAttributeAppenderDispatcherAnnotationPlugin. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppenderHashCodeAndEqualsPlugin. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppenderSafeVarargsPlugin.SafeVarargsAppender. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description. -
Uses of MethodAttributeAppender in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as MethodAttributeAppender Modifier and Type Field Description private MethodAttributeAppenderMethodRegistry.Default.Compiled.Entry. attributeAppenderThe attribute appender of a compiled method.private MethodAttributeAppenderTypeWriter.MethodPool.Record.AccessBridgeWrapper. attributeAppenderThe attribute appender being applied for the bridge target.private MethodAttributeAppenderTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge. attributeAppenderThe attribute appender to apply to the visibility bridge.private MethodAttributeAppenderTypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue. methodAttributeAppenderThe method attribute appender to apply.private MethodAttributeAppenderTypeWriter.MethodPool.Record.ForDefinedMethod.WithBody. methodAttributeAppenderThe method attribute appender to apply.private MethodAttributeAppenderTypeWriter.MethodPool.Record.ForDefinedMethod.WithoutBody. methodAttributeAppenderThe method attribute appender to apply.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodAttributeAppender Modifier and Type Method Description TypeWriter.MethodPool.RecordMethodRegistry.Handler.Compiled. assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility)Assembles this compiled entry with a method attribute appender.TypeWriter.MethodPool.RecordMethodRegistry.Handler.ForAbstractMethod. assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility)Assembles this compiled entry with a method attribute appender.TypeWriter.MethodPool.RecordMethodRegistry.Handler.ForAnnotationValue. assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility)Assembles this compiled entry with a method attribute appender.TypeWriter.MethodPool.RecordMethodRegistry.Handler.ForImplementation.Compiled. assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility)Assembles this compiled entry with a method attribute appender.TypeWriter.MethodPool.RecordMethodRegistry.Handler.ForVisibilityBridge.Compiled. assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility)Assembles this compiled entry with a method attribute appender.static TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.AccessBridgeWrapper. of(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, java.util.Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender)Wraps the given record in an accessor bridge wrapper if necessary.static TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge. of(TypeDescription instrumentedType, MethodDescription bridgeTarget, MethodAttributeAppender attributeAppender)Creates a record for a visibility bridge.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type MethodAttributeAppender Constructor Description AccessBridgeWrapper(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, java.util.Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender)Creates a wrapper for adding accessor bridges.Entry(MethodRegistry.Handler.Compiled handler, MethodAttributeAppender attributeAppender, MethodDescription methodDescription, java.util.Set<MethodDescription.TypeToken> bridgeTypes, Visibility visibility, boolean bridgeMethod)Creates a new entry for a compiled method registry.OfVisibilityBridge(MethodDescription visibilityBridge, MethodDescription bridgeTarget, TypeDescription bridgeType, MethodAttributeAppender attributeAppender)Creates a new record for a visibility bridge.WithAnnotationDefaultValue(MethodDescription methodDescription, AnnotationValue<?,?> annotationValue, MethodAttributeAppender methodAttributeAppender)Creates a new entry for defining a method with a default annotation value.WithBody(MethodDescription methodDescription, ByteCodeAppender byteCodeAppender, MethodAttributeAppender methodAttributeAppender, Visibility visibility)Creates a new entry for a method that defines a method as byte code.WithoutBody(MethodDescription methodDescription, MethodAttributeAppender methodAttributeAppender, Visibility visibility)Creates a new entry for a method that is defines but does not append byte code, i.e. -
Uses of MethodAttributeAppender in net.bytebuddy.implementation.attribute
Classes in net.bytebuddy.implementation.attribute that implement MethodAttributeAppender Modifier and Type Class Description static classMethodAttributeAppender.CompoundA method attribute appender that combines several method attribute appenders to be represented as a single method attribute appender.static classMethodAttributeAppender.ExplicitAppends an annotation to a method or method parameter.static classMethodAttributeAppender.ForInstrumentedMethodImplementation of a method attribute appender that writes all annotations of the instrumented method to the method that is being created.static classMethodAttributeAppender.ForReceiverTypeA method attribute appender that writes a receiver type.static classMethodAttributeAppender.NoOpA method attribute appender that does not append any attributes.Fields in net.bytebuddy.implementation.attribute with type parameters of type MethodAttributeAppender Modifier and Type Field Description private java.util.List<MethodAttributeAppender>MethodAttributeAppender.Compound. methodAttributeAppendersThe method attribute appenders this compound appender represents in their application order.Methods in net.bytebuddy.implementation.attribute that return MethodAttributeAppender Modifier and Type Method Description MethodAttributeAppenderMethodAttributeAppender.Explicit. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppenderMethodAttributeAppender.Factory.Compound. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppenderMethodAttributeAppender.Factory. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppenderMethodAttributeAppender.ForInstrumentedMethod. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppenderMethodAttributeAppender.ForReceiverType. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppenderMethodAttributeAppender.NoOp. make(TypeDescription typeDescription)Returns a method attribute appender that is applicable for a given type description.Constructors in net.bytebuddy.implementation.attribute with parameters of type MethodAttributeAppender Constructor Description Compound(MethodAttributeAppender... methodAttributeAppender)Creates a new compound method attribute appender.Constructor parameters in net.bytebuddy.implementation.attribute with type arguments of type MethodAttributeAppender Constructor Description Compound(java.util.List<? extends MethodAttributeAppender> methodAttributeAppenders)Creates a new compound method attribute appender.
-