| Package | Description | 
|---|---|
| net.bytebuddy | Byte Buddy is a library for creating Java classes at runtime of a Java program. | 
| 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.inline | All classes and types in this package are related to creating a  DynamicTypeby
 enhancing a given type. | 
| 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 | Field and Description | 
|---|---|
| protected MethodAttributeAppender.Factory | ByteBuddy.MethodAnnotationTarget. attributeAppenderFactoryThe method attribute appender factory that was defined for the current method selection. | 
| protected MethodAttributeAppender.Factory | ByteBuddy. defaultMethodAttributeAppenderFactoryThe default method attribute appender factory which is applied to any method that is defined
 or intercepted for implementations that are applied by this configuration. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuddy.MethodAnnotationTarget | ByteBuddy.MethodAnnotationTarget. attribute(MethodAttributeAppender.Factory attributeAppenderFactory)Defines a given attribute appender factory to be applied for the currently selected methods. | 
| ByteBuddy | ByteBuddy. withDefaultMethodAttributeAppender(MethodAttributeAppender.Factory attributeAppenderFactory)Defines a new default method attribute appender factory that is applied onto any method. | 
| ByteBuddy | ByteBuddy.Proxy. withDefaultMethodAttributeAppender(MethodAttributeAppender.Factory attributeAppenderFactory) | 
| Constructor and Description | 
|---|
| ByteBuddy(ClassFileVersion classFileVersion,
         NamingStrategy.Unbound namingStrategy,
         AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
         Implementation.Context.Factory implementationContextFactory,
         List<TypeDescription> interfaceTypes,
         ElementMatcher<? super MethodDescription> ignoredMethods,
         ClassVisitorWrapper classVisitorWrapper,
         MethodRegistry methodRegistry,
         ByteBuddy.Definable<Integer> modifiers,
         TypeAttributeAppender typeAttributeAppender,
         MethodGraph.Compiler methodGraphCompiler,
         FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
         MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory)Defines a new  ByteBuddyconfiguration. | 
| MethodAnnotationTarget(ClassFileVersion classFileVersion,
                      NamingStrategy.Unbound namingStrategy,
                      AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                      Implementation.Context.Factory implementationContextFactory,
                      List<TypeDescription> interfaceTypes,
                      ElementMatcher<? super MethodDescription> ignoredMethods,
                      ClassVisitorWrapper classVisitorWrapper,
                      MethodRegistry methodRegistry,
                      ByteBuddy.Definable<Integer> modifiers,
                      TypeAttributeAppender typeAttributeAppender,
                      MethodGraph.Compiler methodGraphCompiler,
                      FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                      MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                      LatentMethodMatcher methodMatcher,
                      MethodRegistry.Handler handler,
                      MethodAttributeAppender.Factory attributeAppenderFactory,
                      MethodTransformer methodTransformer)Creates a new method annotation target. | 
| OptionalMethodInterception(ClassFileVersion classFileVersion,
                          NamingStrategy.Unbound namingStrategy,
                          AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                          Implementation.Context.Factory implementationContextFactory,
                          List<TypeDescription> interfaceTypes,
                          ElementMatcher<? super MethodDescription> ignoredMethods,
                          ClassVisitorWrapper classVisitorWrapper,
                          MethodRegistry methodRegistry,
                          ByteBuddy.Definable<Integer> modifiers,
                          TypeAttributeAppender typeAttributeAppender,
                          MethodGraph.Compiler methodGraphCompiler,
                          FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                          MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                          LatentMethodMatcher methodMatcher)Creates a new optional method interception. | 
| Proxy(ClassFileVersion classFileVersion,
     NamingStrategy.Unbound namingStrategy,
     AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
     Implementation.Context.Factory implementationContextFactory,
     List<TypeDescription> interfaceTypes,
     ElementMatcher<? super MethodDescription> ignoredMethods,
     ClassVisitorWrapper classVisitorWrapper,
     MethodRegistry methodRegistry,
     ByteBuddy.Definable<Integer> modifiers,
     TypeAttributeAppender typeAttributeAppender,
     MethodGraph.Compiler methodGraphCompiler,
     FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
     MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory)Defines a new proxy configuration for  ByteBuddy. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected MethodAttributeAppender.Factory | DynamicType.Builder.AbstractBase. defaultMethodAttributeAppenderFactoryThe default method attribute appender factory that is automatically added to any field method is
 registered on this builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.MethodAnnotationTarget<S> | DynamicType.Builder.MethodAnnotationTarget. attribute(MethodAttributeAppender.Factory attributeAppenderFactory)Defines an attribute appender factory to be applied onto the currently selected methods. | 
| DynamicType.Builder.MethodAnnotationTarget<S> | DynamicType.Builder.AbstractBase.DefaultMethodAnnotationTarget. attribute(MethodAttributeAppender.Factory attributeAppenderFactory) | 
| protected abstract DynamicType.Builder<S> | DynamicType.Builder.AbstractBase. materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           Implementation.Context.Factory implementationContextFactory,
           InstrumentedType.TypeInitializer typeInitializer,
           TypeDescription targetType,
           List<GenericTypeDescription> interfaceTypes,
           int modifiers,
           TypeAttributeAppender attributeAppender,
           ElementMatcher<? super MethodDescription> ignoredMethods,
           ClassVisitorWrapper classVisitorWrapper,
           FieldRegistry fieldRegistry,
           MethodRegistry methodRegistry,
           MethodGraph.Compiler methodGraphCompiler,
           FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
           MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
           List<FieldDescription.Token> fieldTokens,
           List<MethodDescription.Token> methodTokens)Creates a new immutable type builder which represents the given arguments. | 
| Constructor and Description | 
|---|
| AbstractBase(ClassFileVersion classFileVersion,
            NamingStrategy namingStrategy,
            AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
            Implementation.Context.Factory implementationContextFactory,
            InstrumentedType.TypeInitializer typeInitializer,
            TypeDescription targetType,
            List<GenericTypeDescription> interfaceTypes,
            int modifiers,
            TypeAttributeAppender attributeAppender,
            ElementMatcher<? super MethodDescription> ignoredMethods,
            ClassVisitorWrapper classVisitorWrapper,
            FieldRegistry fieldRegistry,
            MethodRegistry methodRegistry,
            MethodGraph.Compiler methodGraphCompiler,
            FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
            MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
            List<FieldDescription.Token> fieldTokens,
            List<MethodDescription.Token> methodTokens)Creates a new immutable type builder base implementation. | 
| DefaultMethodAnnotationTarget(LatentMethodMatcher methodMatcher,
                             List<MethodDescription.Token> methodTokens,
                             MethodRegistry.Handler handler,
                             MethodAttributeAppender.Factory attributeAppenderFactory,
                             MethodTransformer methodTransformer)Creates a new default method annotation target. | 
| 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(LatentMethodMatcher methodMatcher,
      MethodRegistry.Handler handler,
      MethodAttributeAppender.Factory attributeAppenderFactory,
      MethodTransformer methodTransformer)Appends the given method definition to this method registry, i.e. | 
| MethodRegistry | MethodRegistry.Default. append(LatentMethodMatcher methodMatcher,
      MethodRegistry.Handler handler,
      MethodAttributeAppender.Factory attributeAppenderFactory,
      MethodTransformer methodTransformer) | 
| MethodRegistry | MethodRegistry. prepend(LatentMethodMatcher methodMatcher,
       MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory attributeAppenderFactory,
       MethodTransformer methodTransformer)Prepends the given method definition to this method registry, i.e. | 
| MethodRegistry | MethodRegistry.Default. prepend(LatentMethodMatcher methodMatcher,
       MethodRegistry.Handler handler,
       MethodAttributeAppender.Factory attributeAppenderFactory,
       MethodTransformer methodTransformer) | 
| Constructor and Description | 
|---|
| Entry(LatentMethodMatcher methodMatcher,
     MethodRegistry.Handler handler,
     MethodAttributeAppender.Factory attributeAppenderFactory,
     MethodTransformer methodTransformer)Creates a new entry. | 
| Entry(MethodRegistry.Handler handler,
     MethodAttributeAppender.Factory attributeAppenderFactory,
     MethodDescription methodDescription,
     Set<MethodDescription.TypeToken> typeTokens)Creates a new prepared entry. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DynamicType.Builder<T> | RedefinitionDynamicTypeBuilder. materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           Implementation.Context.Factory implementationContextFactory,
           InstrumentedType.TypeInitializer typeInitializer,
           TypeDescription levelType,
           List<GenericTypeDescription> interfaceTypes,
           int modifiers,
           TypeAttributeAppender attributeAppender,
           ElementMatcher<? super MethodDescription> ignoredMethods,
           ClassVisitorWrapper classVisitorWrapper,
           FieldRegistry fieldRegistry,
           MethodRegistry methodRegistry,
           MethodGraph.Compiler methodGraphCompiler,
           FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
           MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
           List<FieldDescription.Token> fieldTokens,
           List<MethodDescription.Token> methodTokens) | 
| protected DynamicType.Builder<T> | RebaseDynamicTypeBuilder. materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           Implementation.Context.Factory implementationContextFactory,
           InstrumentedType.TypeInitializer typeInitializer,
           TypeDescription levelType,
           List<GenericTypeDescription> interfaceTypes,
           int modifiers,
           TypeAttributeAppender attributeAppender,
           ElementMatcher<? super MethodDescription> ignoredMethods,
           ClassVisitorWrapper classVisitorWrapper,
           FieldRegistry fieldRegistry,
           MethodRegistry methodRegistry,
           MethodGraph.Compiler methodGraphCompiler,
           FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
           MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
           List<FieldDescription.Token> fieldTokens,
           List<MethodDescription.Token> methodTokens) | 
| Constructor and Description | 
|---|
| RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                        Implementation.Context.Factory implementationContextFactory,
                        InstrumentedType.TypeInitializer typeInitializer,
                        TypeDescription levelType,
                        List<GenericTypeDescription> interfaceTypes,
                        int modifiers,
                        TypeAttributeAppender attributeAppender,
                        ElementMatcher<? super MethodDescription> ignoredMethods,
                        ClassVisitorWrapper classVisitorWrapper,
                        FieldRegistry fieldRegistry,
                        MethodRegistry methodRegistry,
                        MethodGraph.Compiler methodGraphCompiler,
                        FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                        MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                        List<FieldDescription.Token> fieldTokens,
                        List<MethodDescription.Token> methodTokens,
                        ClassFileLocator classFileLocator,
                        MethodRebaseResolver.MethodNameTransformer methodNameTransformer)Creates a new rebase dynamic type builder. | 
| RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                        Implementation.Context.Factory implementationContextFactory,
                        TypeDescription levelType,
                        List<TypeDescription> interfaceTypes,
                        int modifiers,
                        TypeAttributeAppender attributeAppender,
                        ElementMatcher<? super MethodDescription> ignoredMethods,
                        ClassVisitorWrapper classVisitorWrapper,
                        FieldRegistry fieldRegistry,
                        MethodRegistry methodRegistry,
                        MethodGraph.Compiler methodGraphCompiler,
                        FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                        MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                        ClassFileLocator classFileLocator,
                        MethodRebaseResolver.MethodNameTransformer methodNameTransformer)Creates a new rebase dynamic type builder. | 
| RedefinitionDynamicTypeBuilder(ClassFileVersion classFileVersion,
                              NamingStrategy namingStrategy,
                              AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                              Implementation.Context.Factory implementationContextFactory,
                              InstrumentedType.TypeInitializer typeInitializer,
                              TypeDescription levelType,
                              List<GenericTypeDescription> interfaceTypes,
                              int modifiers,
                              TypeAttributeAppender attributeAppender,
                              ElementMatcher<? super MethodDescription> ignoredMethods,
                              ClassVisitorWrapper classVisitorWrapper,
                              FieldRegistry fieldRegistry,
                              MethodRegistry methodRegistry,
                              MethodGraph.Compiler methodGraphCompiler,
                              FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                              MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                              List<FieldDescription.Token> fieldTokens,
                              List<MethodDescription.Token> methodTokens,
                              ClassFileLocator classFileLocator)Creates a new redefinition dynamic type builder. | 
| RedefinitionDynamicTypeBuilder(ClassFileVersion classFileVersion,
                              NamingStrategy namingStrategy,
                              AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                              Implementation.Context.Factory implementationContextFactory,
                              TypeDescription levelType,
                              List<TypeDescription> interfaceTypes,
                              int modifiers,
                              TypeAttributeAppender attributeAppender,
                              ElementMatcher<? super MethodDescription> ignoredMethods,
                              ClassVisitorWrapper classVisitorWrapper,
                              FieldRegistry fieldRegistry,
                              MethodRegistry methodRegistry,
                              MethodGraph.Compiler methodGraphCompiler,
                              FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                              MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                              ClassFileLocator classFileLocator)Creates a new redefinition dynamic type builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodRegistry | ConstructorStrategy. inject(MethodRegistry methodRegistry,
      MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory)Returns a method registry that is capable of creating byte code for the constructors that were
 provided by the
  ConstructorStrategy.extractConstructors(TypeDescription)method of this instance. | 
| protected DynamicType.Builder<T> | SubclassDynamicTypeBuilder. materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           Implementation.Context.Factory implementationContextFactory,
           InstrumentedType.TypeInitializer typeInitializer,
           TypeDescription targetType,
           List<GenericTypeDescription> interfaceTypes,
           int modifiers,
           TypeAttributeAppender attributeAppender,
           ElementMatcher<? super MethodDescription> ignoredMethods,
           ClassVisitorWrapper classVisitorWrapper,
           FieldRegistry fieldRegistry,
           MethodRegistry methodRegistry,
           MethodGraph.Compiler methodGraphCompiler,
           FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
           MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
           List<FieldDescription.Token> fieldTokens,
           List<MethodDescription.Token> methodTokens) | 
| Constructor and Description | 
|---|
| SubclassDynamicTypeBuilder(ClassFileVersion classFileVersion,
                          NamingStrategy namingStrategy,
                          AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                          Implementation.Context.Factory implementationContextFactory,
                          InstrumentedType.TypeInitializer typeInitializer,
                          TypeDescription superType,
                          List<GenericTypeDescription> interfaceTypes,
                          int modifiers,
                          TypeAttributeAppender attributeAppender,
                          ElementMatcher<? super MethodDescription> ignoredMethods,
                          ClassVisitorWrapper classVisitorWrapper,
                          FieldRegistry fieldRegistry,
                          MethodRegistry methodRegistry,
                          MethodGraph.Compiler methodGraphCompiler,
                          FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                          MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                          List<FieldDescription.Token> fieldTokens,
                          List<MethodDescription.Token> methodTokens,
                          ConstructorStrategy constructorStrategy)Creates a new immutable type builder for a subclassing a given class. | 
| SubclassDynamicTypeBuilder(ClassFileVersion classFileVersion,
                          NamingStrategy namingStrategy,
                          AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                          Implementation.Context.Factory implementationContextFactory,
                          TypeDescription superType,
                          List<TypeDescription> interfaceTypes,
                          int modifiers,
                          TypeAttributeAppender attributeAppender,
                          ElementMatcher<? super MethodDescription> ignoredMethods,
                          ClassVisitorWrapper classVisitorWrapper,
                          FieldRegistry fieldRegistry,
                          MethodRegistry methodRegistry,
                          MethodGraph.Compiler methodGraphCompiler,
                          FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                          MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                          ConstructorStrategy constructorStrategy)Creates a new immutable type builder for a subclassing a given class. | 
| Modifier and Type | Class and Description | 
|---|---|
| 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.ForAnnotationAppends an annotation to a method or method parameter. | 
| static class  | MethodAttributeAppender.ForInstrumentedMethodImplementation of a method attribute appender that writes all annotations of the instrumented method to the
 method that is being created. | 
| static class  | MethodAttributeAppender.ForMethodImplementation of a method attribute appender that writes all annotations of a given loaded method to the
 method that is being created. | 
| static class  | MethodAttributeAppender.NoOpA method attribute appender that does not append any attributes. | 
| Constructor and Description | 
|---|
| Compound(MethodAttributeAppender.Factory... factory)Creates a new compound method attribute appender factory. | 
Copyright © 2014–2015. All rights reserved.