| Package | Description | 
|---|---|
| net.bytebuddy.asm | The ASM package contains classes that are meant for direct interaction with the ASM API. | 
| net.bytebuddy.dynamic | This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
 type that is dynamically created and for loading this type into a running JVM 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.dynamic.scaffold.subclass | All classes and types in this package are related to creating a  DynamicTypeby
 creating a subclass of a given type. | 
| 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 | Method and Description | 
|---|---|
| MemberAttributeExtension.ForMethod | MemberAttributeExtension.ForMethod. attribute(MethodAttributeAppender.Factory attributeAppenderFactory)Appends the supplied method attribute appender factory. | 
| Constructor and Description | 
|---|
| ForMethod(AnnotationValueFilter.Factory annotationValueFilterFactory,
         MethodAttributeAppender.Factory attributeAppenderFactory)Creates a method attribute extension. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected MethodAttributeAppender.Factory | DynamicType.Builder.MethodDefinition.AbstractBase.Adapter. methodAttributeAppenderFactoryThe method attribute appender factory to apply onto the method that is currently being implemented. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.MethodDefinition<S> | DynamicType.Builder.MethodDefinition. attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)Applies the supplied method attribute appender factory onto the previously defined or matched method. | 
| DynamicType.Builder.MethodDefinition<V> | DynamicType.Builder.MethodDefinition.AbstractBase.Adapter. attribute(MethodAttributeAppender.Factory methodAttributeAppenderFactory)Applies the supplied method attribute appender factory onto the previously defined or matched method. | 
| protected abstract DynamicType.Builder.MethodDefinition<V> | DynamicType.Builder.MethodDefinition.AbstractBase.Adapter. materialize(MethodRegistry.Handler handler,
           MethodAttributeAppender.Factory methodAttributeAppenderFactory,
           Transformer<MethodDescription> transformer)Materializes the current builder as a method definition. | 
| protected DynamicType.Builder.MethodDefinition<U> | DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter. materialize(MethodRegistry.Handler handler,
           MethodAttributeAppender.Factory methodAttributeAppenderFactory,
           Transformer<MethodDescription> transformer) | 
| protected DynamicType.Builder.MethodDefinition<U> | DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter. materialize(MethodRegistry.Handler handler,
           MethodAttributeAppender.Factory methodAttributeAppenderFactory,
           Transformer<MethodDescription> transformer) | 
| Constructor and Description | 
|---|
| Adapter(MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory methodAttributeAppenderFactory,
       Transformer<MethodDescription> transformer)Creates a new adapter for a method definition. | 
| AnnotationAdapter(MethodRegistry.Handler handler,
                 MethodAttributeAppender.Factory methodAttributeAppenderFactory,
                 Transformer<MethodDescription> transformer)Creates a new annotation adapter. | 
| AnnotationAdapter(MethodRegistry.Handler handler,
                 MethodAttributeAppender.Factory methodAttributeAppenderFactory,
                 Transformer<MethodDescription> transformer)Creates a new annotation adapter. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected MethodAttributeAppender.Factory | MethodRegistry.Default.Prepared.Entry. getAppenderFactory()Returns this entry's attribute appender factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodRegistry | MethodRegistry. append(LatentMatcher<? super MethodDescription> methodMatcher,
      MethodRegistry.Handler handler,
      MethodAttributeAppender.Factory attributeAppenderFactory,
      Transformer<MethodDescription> transformer)Appends the given method definition to this method registry, i.e. | 
| MethodRegistry | MethodRegistry.Default. append(LatentMatcher<? super MethodDescription> matcher,
      MethodRegistry.Handler handler,
      MethodAttributeAppender.Factory attributeAppenderFactory,
      Transformer<MethodDescription> transformer)Appends the given method definition to this method registry, i.e. | 
| MethodRegistry | MethodRegistry. prepend(LatentMatcher<? super MethodDescription> methodMatcher,
       MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory attributeAppenderFactory,
       Transformer<MethodDescription> transformer)Prepends the given method definition to this method registry, i.e. | 
| MethodRegistry | MethodRegistry.Default. prepend(LatentMatcher<? super MethodDescription> matcher,
       MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory attributeAppenderFactory,
       Transformer<MethodDescription> transformer)Prepends the given method definition to this method registry, i.e. | 
| Constructor and Description | 
|---|
| Entry(LatentMatcher<? super MethodDescription> matcher,
     MethodRegistry.Handler handler,
     MethodAttributeAppender.Factory attributeAppenderFactory,
     Transformer<MethodDescription> transformer)Creates a new entry. | 
| Entry(MethodRegistry.Handler handler,
     MethodAttributeAppender.Factory attributeAppenderFactory,
     MethodDescription methodDescription,
     Set<MethodDescription.TypeToken> typeTokens,
     Visibility visibility,
     boolean bridgeMethod)Creates a new prepared entry. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract MethodRegistry | ConstructorStrategy.Default. doInject(MethodRegistry methodRegistry,
        MethodAttributeAppender.Factory methodAttributeAppenderFactory)Applies the actual injection with a method attribute appender factory supplied. | 
| ConstructorStrategy | ConstructorStrategy.Default. with(MethodAttributeAppender.Factory methodAttributeAppenderFactory)Returns a constructor strategy that supplies the supplied method attribute appender factory. | 
| Constructor and Description | 
|---|
| ForDefaultConstructor(ElementMatcher<? super MethodDescription> elementMatcher,
                     MethodAttributeAppender.Factory methodAttributeAppenderFactory)Creates a constructor strategy for invoking a super constructor with default arguments. | 
| ForDefaultConstructor(MethodAttributeAppender.Factory methodAttributeAppenderFactory)Creates a constructor strategy for invoking a super constructor with default arguments. | 
| WithMethodAttributeAppenderFactory(ConstructorStrategy.Default delegate,
                                  MethodAttributeAppender.Factory methodAttributeAppenderFactory)Creates a new wrapper for a default constructor strategy. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MethodAttributeAppender.ExplicitAppends an annotation to a method or method parameter. | 
| static class  | MethodAttributeAppender.Factory.CompoundA method attribute appender factory that combines several method attribute appender factories to be
 represented as a single factory. | 
| 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.ForReceiverTypeA method attribute appender that writes a receiver type. | 
| static class  | MethodAttributeAppender.NoOpA method attribute appender that does not append any attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MethodAttributeAppender.Factory | MethodAttributeAppender.Explicit. of(MethodDescription methodDescription)Creates a method attribute appender factory that writes all annotations of a given method, both the method
 annotations themselves and all annotations that are defined for every parameter. | 
| static MethodAttributeAppender.Factory | MethodAttributeAppender.Explicit. ofMethodAnnotations(MethodDescription methodDescription)Creates a method attribute appender factory that writes all method annotations that are defined on the given method. | 
| static MethodAttributeAppender.Factory | MethodAttributeAppender.Explicit. ofParameterAnnotations(MethodDescription methodDescription)Creates a method attribute appender factory that writes all annotations that are defined for every parameter
 of the given method. | 
| Constructor and Description | 
|---|
| Compound(MethodAttributeAppender.Factory... factory)Creates a new compound method attribute appender factory. | 
| Constructor and Description | 
|---|
| Compound(List<? extends MethodAttributeAppender.Factory> factories)Creates a new compound method attribute appender factory. | 
Copyright © 2014–2019. All rights reserved.