| 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 FieldAttributeAppender.Factory | ByteBuddy. defaultFieldAttributeAppenderFactoryThe default field attribute appender factory which is applied to any field that is defined
 for implementations that are applied by this configuration. | 
| Modifier and Type | Method and Description | 
|---|---|
| FieldAttributeAppender.Factory | ByteBuddy. getDefaultFieldAttributeAppenderFactory()Returns the default field attribute appender factory which is applied to any field that is defined
 for implementations that are applied by this configuration. | 
| FieldAttributeAppender.Factory | ByteBuddy.Proxy. getDefaultFieldAttributeAppenderFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuddy | ByteBuddy. withDefaultFieldAttributeAppender(FieldAttributeAppender.Factory attributeAppenderFactory)Defines a new default field attribute appender factory that is applied onto any field. | 
| ByteBuddy | ByteBuddy.Proxy. withDefaultFieldAttributeAppender(FieldAttributeAppender.Factory attributeAppenderFactory) | 
| Constructor and Description | 
|---|
| ByteBuddy(ClassFileVersion classFileVersion,
         NamingStrategy.Unbound namingStrategy,
         AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
         List<TypeDescription> interfaceTypes,
         ElementMatcher<? super MethodDescription> ignoredMethods,
         BridgeMethodResolver.Factory bridgeMethodResolverFactory,
         ClassVisitorWrapper.Chain classVisitorWrapperChain,
         MethodRegistry methodRegistry,
         ByteBuddy.Definable<Integer> modifiers,
         TypeAttributeAppender typeAttributeAppender,
         MethodLookupEngine.Factory methodLookupEngineFactory,
         FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
         MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory)Defines a new  ByteBuddyconfiguration. | 
| MethodAnnotationTarget(ClassFileVersion classFileVersion,
                      NamingStrategy.Unbound namingStrategy,
                      AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                      List<TypeDescription> interfaceTypes,
                      ElementMatcher<? super MethodDescription> ignoredMethods,
                      BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                      ClassVisitorWrapper.Chain classVisitorWrapperChain,
                      MethodRegistry methodRegistry,
                      ByteBuddy.Definable<Integer> modifiers,
                      TypeAttributeAppender typeAttributeAppender,
                      MethodLookupEngine.Factory methodLookupEngineFactory,
                      FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                      MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                      LatentMethodMatcher methodMatcher,
                      MethodRegistry.Handler handler,
                      MethodAttributeAppender.Factory attributeAppenderFactory)Creates a new method annotation target. | 
| OptionalMethodInterception(ClassFileVersion classFileVersion,
                          NamingStrategy.Unbound namingStrategy,
                          AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                          List<TypeDescription> interfaceTypes,
                          ElementMatcher<? super MethodDescription> ignoredMethods,
                          BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                          ClassVisitorWrapper.Chain classVisitorWrapperChain,
                          MethodRegistry methodRegistry,
                          ByteBuddy.Definable<Integer> modifiers,
                          TypeAttributeAppender typeAttributeAppender,
                          MethodLookupEngine.Factory methodLookupEngineFactory,
                          FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                          MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                          LatentMethodMatcher methodMatcher)Creates a new optional method interception. | 
| Proxy(ClassFileVersion classFileVersion,
     NamingStrategy.Unbound namingStrategy,
     AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
     List<TypeDescription> interfaceTypes,
     ElementMatcher<? super MethodDescription> ignoredMethods,
     BridgeMethodResolver.Factory bridgeMethodResolverFactory,
     ClassVisitorWrapper.Chain classVisitorWrapperChain,
     MethodRegistry methodRegistry,
     ByteBuddy.Definable<Integer> modifiers,
     TypeAttributeAppender typeAttributeAppender,
     MethodLookupEngine.Factory methodLookupEngineFactory,
     FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
     MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory)Defines a new proxy configuration for  ByteBuddy. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected FieldAttributeAppender.Factory | DynamicType.Builder.AbstractBase. defaultFieldAttributeAppenderFactoryThe default field attribute appender factory that is automatically added to any field that is
 registered on this builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.FieldAnnotationTarget<S> | DynamicType.Builder.FieldAnnotationTarget. attribute(FieldAttributeAppender.Factory attributeAppenderFactory)Defines an attribute appender factory to be applied onto the currently selected field. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | DynamicType.Builder.AbstractBase.DefaultFieldValueTarget. attribute(FieldAttributeAppender.Factory attributeAppenderFactory) | 
| protected abstract DynamicType.Builder<S> | DynamicType.Builder.AbstractBase. materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           TypeDescription targetType,
           List<TypeDescription> interfaceTypes,
           int modifiers,
           TypeAttributeAppender attributeAppender,
           ElementMatcher<? super MethodDescription> ignoredMethods,
           BridgeMethodResolver.Factory bridgeMethodResolverFactory,
           ClassVisitorWrapper.Chain classVisitorWrapperChain,
           FieldRegistry fieldRegistry,
           MethodRegistry methodRegistry,
           MethodLookupEngine.Factory methodLookupEngineFactory,
           FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
           MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
           List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
           List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens)Creates a new immutable type builder which represents the given arguments. | 
| Constructor and Description | 
|---|
| AbstractBase(ClassFileVersion classFileVersion,
            NamingStrategy namingStrategy,
            AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
            TypeDescription targetType,
            List<TypeDescription> interfaceTypes,
            int modifiers,
            TypeAttributeAppender attributeAppender,
            ElementMatcher<? super MethodDescription> ignoredMethods,
            BridgeMethodResolver.Factory bridgeMethodResolverFactory,
            ClassVisitorWrapper.Chain classVisitorWrapperChain,
            FieldRegistry fieldRegistry,
            MethodRegistry methodRegistry,
            MethodLookupEngine.Factory methodLookupEngineFactory,
            FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
            MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
            List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
            List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens)Creates a new immutable type builder base implementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| FieldAttributeAppender.Factory | FieldRegistry.Default.Entry. getAttributeAppenderFactory()Returns the field attribute appender factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| FieldRegistry | FieldRegistry. include(FieldRegistry.LatentFieldMatcher latentFieldMatcher,
       FieldAttributeAppender.Factory attributeAppenderFactory,
       Object defaultValue)Creates a new field registry with the given attribute appender registered for the supplied field matcher. | 
| FieldRegistry | FieldRegistry.Default. include(FieldRegistry.LatentFieldMatcher latentFieldMatcher,
       FieldAttributeAppender.Factory attributeAppenderFactory,
       Object defaultValue) | 
| Constructor and Description | 
|---|
| RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                        TypeDescription levelType,
                        List<? extends TypeDescription> interfaceTypes,
                        int modifiers,
                        TypeAttributeAppender attributeAppender,
                        ElementMatcher<? super MethodDescription> ignoredMethods,
                        BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                        ClassVisitorWrapper.Chain classVisitorWrapperChain,
                        FieldRegistry fieldRegistry,
                        MethodRegistry methodRegistry,
                        MethodLookupEngine.Factory methodLookupEngineFactory,
                        FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                        MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                        ClassFileLocator classFileLocator,
                        MethodRebaseResolver.MethodNameTransformer methodNameTransformer)Creates a new rebase dynamic type builder. | 
| RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                        TypeDescription levelType,
                        List<TypeDescription> interfaceTypes,
                        int modifiers,
                        TypeAttributeAppender attributeAppender,
                        ElementMatcher<? super MethodDescription> ignoredMethods,
                        BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                        ClassVisitorWrapper.Chain classVisitorWrapperChain,
                        FieldRegistry fieldRegistry,
                        MethodRegistry methodRegistry,
                        MethodLookupEngine.Factory methodLookupEngineFactory,
                        FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                        MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                        List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
                        List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens,
                        ClassFileLocator classFileLocator,
                        MethodRebaseResolver.MethodNameTransformer methodNameTransformer)Creates a new rebase dynamic type builder. | 
| RedefinitionDynamicTypeBuilder(ClassFileVersion classFileVersion,
                              NamingStrategy namingStrategy,
                              AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                              TypeDescription levelType,
                              List<? extends TypeDescription> interfaceTypes,
                              int modifiers,
                              TypeAttributeAppender attributeAppender,
                              ElementMatcher<? super MethodDescription> ignoredMethods,
                              BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                              ClassVisitorWrapper.Chain classVisitorWrapperChain,
                              FieldRegistry fieldRegistry,
                              MethodRegistry methodRegistry,
                              MethodLookupEngine.Factory methodLookupEngineFactory,
                              FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                              MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                              ClassFileLocator classFileLocator)Creates a new redefinition dynamic type builder. | 
| RedefinitionDynamicTypeBuilder(ClassFileVersion classFileVersion,
                              NamingStrategy namingStrategy,
                              AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                              TypeDescription levelType,
                              List<? extends TypeDescription> interfaceTypes,
                              int modifiers,
                              TypeAttributeAppender attributeAppender,
                              ElementMatcher<? super MethodDescription> ignoredMethods,
                              BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                              ClassVisitorWrapper.Chain classVisitorWrapperChain,
                              FieldRegistry fieldRegistry,
                              MethodRegistry methodRegistry,
                              MethodLookupEngine.Factory methodLookupEngineFactory,
                              FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                              MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                              List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
                              List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens,
                              ClassFileLocator classFileLocator)Creates a new redefinition dynamic type builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DynamicType.Builder<T> | SubclassDynamicTypeBuilder. materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           TypeDescription targetType,
           List<TypeDescription> interfaceTypes,
           int modifiers,
           TypeAttributeAppender attributeAppender,
           ElementMatcher<? super MethodDescription> ignoredMethods,
           BridgeMethodResolver.Factory bridgeMethodResolverFactory,
           ClassVisitorWrapper.Chain classVisitorWrapperChain,
           FieldRegistry fieldRegistry,
           MethodRegistry methodRegistry,
           MethodLookupEngine.Factory methodLookupEngineFactory,
           FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
           MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
           List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
           List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens) | 
| Constructor and Description | 
|---|
| SubclassDynamicTypeBuilder(ClassFileVersion classFileVersion,
                          NamingStrategy namingStrategy,
                          AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                          TypeDescription superType,
                          List<? extends TypeDescription> interfaceTypes,
                          int modifiers,
                          TypeAttributeAppender attributeAppender,
                          ElementMatcher<? super MethodDescription> ignoredMethods,
                          BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                          ClassVisitorWrapper.Chain classVisitorWrapperChain,
                          FieldRegistry fieldRegistry,
                          MethodRegistry methodRegistry,
                          MethodLookupEngine.Factory methodLookupEngineFactory,
                          FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                          MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                          ConstructorStrategy constructorStrategy)Creates a new immutable type builder for a subclassing a given class. | 
| SubclassDynamicTypeBuilder(ClassFileVersion classFileVersion,
                          NamingStrategy namingStrategy,
                          AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
                          TypeDescription superType,
                          List<TypeDescription> interfaceTypes,
                          int modifiers,
                          TypeAttributeAppender attributeAppender,
                          ElementMatcher<? super MethodDescription> ignoredMethods,
                          BridgeMethodResolver.Factory bridgeMethodResolverFactory,
                          ClassVisitorWrapper.Chain classVisitorWrapperChain,
                          FieldRegistry fieldRegistry,
                          MethodRegistry methodRegistry,
                          MethodLookupEngine.Factory methodLookupEngineFactory,
                          FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
                          MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
                          List<DynamicType.Builder.AbstractBase.FieldToken> fieldTokens,
                          List<DynamicType.Builder.AbstractBase.MethodToken> methodTokens,
                          ConstructorStrategy constructorStrategy)Creates a new immutable type builder for a subclassing a given class. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | FieldAttributeAppender.Factory.CompoundA field attribute appender factory that combines several field attribute appender factories to be
 represented as a single factory. | 
| static class  | FieldAttributeAppender.ForAnnotationAppends an annotation to a field. | 
| static class  | FieldAttributeAppender.ForFieldWrites all annotations that are found on a field that belongs to a loaded type of the JVM as visible
 annotations. | 
| static class  | FieldAttributeAppender.NoOpA field attribute appender that does not append any attributes. | 
| Constructor and Description | 
|---|
| Compound(FieldAttributeAppender.Factory... factory)Creates a new compound field attribute appender factory. | 
Copyright © 2014–2015. All rights reserved.