| Package | Description | 
|---|---|
| net.bytebuddy | 
 Byte Buddy is a library for creating Java classes at runtime of a Java program. 
 | 
| 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.inline | 
 All classes and types in this package are related to creating a  
DynamicType by
 enhancing a given type. | 
| net.bytebuddy.dynamic.scaffold.subclass | 
 All classes and types in this package are related to creating a  
DynamicType by
 creating a subclass of a given type. | 
| Modifier and Type | Field and Description | 
|---|---|
protected ClassVisitorWrapper.Chain | 
ByteBuddy.classVisitorWrapperChain
The class visitor wrapper chain for the current configuration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ClassVisitorWrapper.Chain | 
ByteBuddy.getClassVisitorWrapperChain()
Returns the class visitor wrapper chain for the current configuration. 
 | 
ClassVisitorWrapper.Chain | 
ByteBuddy.Proxy.getClassVisitorWrapperChain()  | 
| Constructor and Description | 
|---|
ByteBuddy(ClassFileVersion classFileVersion,
         NamingStrategy.Unbound namingStrategy,
         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  
ByteBuddy configuration. | 
MethodAnnotationTarget(ClassFileVersion classFileVersion,
                      NamingStrategy.Unbound namingStrategy,
                      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,
                      ElementMatcher<? super MethodDescription> methodMatcher,
                      Instrumentation instrumentation,
                      MethodAttributeAppender.Factory attributeAppenderFactory)
Creates a new method annotation target. 
 | 
OptionalMethodInterception(ClassFileVersion classFileVersion,
                          NamingStrategy.Unbound namingStrategy,
                          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,
                          ElementMatcher<? super MethodDescription> methodMatcher)
Creates a new optional method interception. 
 | 
Proxy(ClassFileVersion classFileVersion,
     NamingStrategy.Unbound namingStrategy,
     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 | Method and Description | 
|---|---|
ClassVisitorWrapper.Chain | 
ClassVisitorWrapper.Chain.append(ClassVisitorWrapper classVisitorWrapper)
Adds a  
ClassVisitorWrapper to the end of the chain such that the wrapped
 ASM ClassVisitor will be applied after the other class visitors. | 
ClassVisitorWrapper.Chain | 
ClassVisitorWrapper.Chain.prepend(ClassVisitorWrapper classVisitorWrapper)
Adds a  
ClassVisitorWrapper to the beginning of the chain such that the wrapped
 ASM ClassVisitor will be applied before the other class visitors. | 
| Modifier and Type | Field and Description | 
|---|---|
protected ClassVisitorWrapper.Chain | 
DynamicType.Builder.AbstractBase.classVisitorWrapperChain
The class visitor wrapper chain that is applied on created types by this builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract DynamicType.Builder<S> | 
DynamicType.Builder.AbstractBase.materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           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,
            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 | 
|---|---|
protected DynamicType.Builder<T> | 
InlineDynamicTypeBuilder.materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           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)  | 
| Constructor and Description | 
|---|
InlineDynamicTypeBuilder(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        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,
                        InlineDynamicTypeBuilder.TargetHandler targetHandler)
Creates a new immutable type builder for enhancing a given class. 
 | 
InlineDynamicTypeBuilder(ClassFileVersion classFileVersion,
                        NamingStrategy namingStrategy,
                        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,
                        InlineDynamicTypeBuilder.TargetHandler targetHandler)
Creates a new immutable type builder for enhancing a given class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected DynamicType.Builder<T> | 
SubclassDynamicTypeBuilder.materialize(ClassFileVersion classFileVersion,
           NamingStrategy namingStrategy,
           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,
                          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,
                          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. 
 | 
Copyright © 2014. All rights reserved.