| Package | Description | 
|---|---|
| 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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DispatcherAnnotationPlugin
A plugin that adds an  
HashCodeAndEqualsPlugin.Enhance annotation to any method of an
 enhanced type where the annotation is not set. | 
class  | 
HashCodeAndEqualsPlugin
A build tool plugin that adds  
Object.hashCode() and Object.equals(Object) methods to a class if the
 HashCodeAndEqualsPlugin.Enhance annotation is present and no explicit method declaration was added. | 
static class  | 
HashCodeAndEqualsPlugin.WithNonNullableFields
A version of the  
HashCodeAndEqualsPlugin that assumes that all fields are non-nullable unless they are explicitly marked. | 
| Modifier and Type | Method and Description | 
|---|---|
MethodAttributeAppender | 
HashCodeAndEqualsPlugin.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
MethodAttributeAppender | 
DispatcherAnnotationPlugin.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TypeWriter.MethodPool.Record | 
MethodRegistry.Handler.ForAbstractMethod.assemble(MethodDescription methodDescription,
        MethodAttributeAppender attributeAppender,
        Visibility visibility)
Assembles this compiled entry with a method attribute appender. 
 | 
TypeWriter.MethodPool.Record | 
MethodRegistry.Handler.ForVisibilityBridge.Compiled.assemble(MethodDescription methodDescription,
        MethodAttributeAppender attributeAppender,
        Visibility visibility)
Assembles this compiled entry with a method attribute appender. 
 | 
TypeWriter.MethodPool.Record | 
MethodRegistry.Handler.Compiled.assemble(MethodDescription methodDescription,
        MethodAttributeAppender attributeAppender,
        Visibility visibility)
Assembles this compiled entry with a method attribute appender. 
 | 
TypeWriter.MethodPool.Record | 
MethodRegistry.Handler.ForImplementation.Compiled.assemble(MethodDescription methodDescription,
        MethodAttributeAppender attributeAppender,
        Visibility visibility)
Assembles this compiled entry with a method attribute appender. 
 | 
TypeWriter.MethodPool.Record | 
MethodRegistry.Handler.ForAnnotationValue.assemble(MethodDescription methodDescription,
        MethodAttributeAppender attributeAppender,
        Visibility visibility)
Assembles this compiled entry with a method attribute appender. 
 | 
static TypeWriter.MethodPool.Record | 
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.of(TypeDescription instrumentedType,
  MethodDescription bridgeTarget,
  MethodAttributeAppender attributeAppender)
Creates a record for a visibility bridge. 
 | 
static TypeWriter.MethodPool.Record | 
TypeWriter.MethodPool.Record.AccessBridgeWrapper.of(TypeWriter.MethodPool.Record delegate,
  TypeDescription instrumentedType,
  MethodDescription bridgeTarget,
  Set<MethodDescription.TypeToken> bridgeTypes,
  MethodAttributeAppender attributeAppender)
Wraps the given record in an accessor bridge wrapper if necessary. 
 | 
| Constructor and Description | 
|---|
AccessBridgeWrapper(TypeWriter.MethodPool.Record delegate,
                   TypeDescription instrumentedType,
                   MethodDescription bridgeTarget,
                   Set<MethodDescription.TypeToken> bridgeTypes,
                   MethodAttributeAppender attributeAppender)
Creates a wrapper for adding accessor bridges. 
 | 
Entry(MethodRegistry.Handler.Compiled handler,
     MethodAttributeAppender attributeAppender,
     MethodDescription methodDescription,
     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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
MethodAttributeAppender.Compound
A method attribute appender that combines several method attribute appenders to be represented as a single
 method attribute appender. 
 | 
static class  | 
MethodAttributeAppender.Explicit
Appends an annotation to a method or method parameter. 
 | 
static class  | 
MethodAttributeAppender.ForInstrumentedMethod
 Implementation of a method attribute appender that writes all annotations of the instrumented method to the
 method that is being created. 
 | 
static class  | 
MethodAttributeAppender.ForReceiverType
A method attribute appender that writes a receiver type. 
 | 
static class  | 
MethodAttributeAppender.NoOp
A method attribute appender that does not append any attributes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodAttributeAppender | 
MethodAttributeAppender.NoOp.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
MethodAttributeAppender | 
MethodAttributeAppender.Factory.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
MethodAttributeAppender | 
MethodAttributeAppender.Factory.Compound.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
MethodAttributeAppender | 
MethodAttributeAppender.ForInstrumentedMethod.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
MethodAttributeAppender | 
MethodAttributeAppender.Explicit.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
MethodAttributeAppender | 
MethodAttributeAppender.ForReceiverType.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description. 
 | 
| Constructor and Description | 
|---|
Compound(MethodAttributeAppender... methodAttributeAppender)
Creates a new compound method attribute appender. 
 | 
| Constructor and Description | 
|---|
Compound(List<? extends MethodAttributeAppender> methodAttributeAppenders)
Creates a new compound method attribute appender. 
 | 
Copyright © 2014–2021. All rights reserved.