| 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  
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. | 
| net.bytebuddy.implementation.auxiliary | 
 Auxiliary types describe helper types that aid as a supplementary to a given
  
InstrumentedType. | 
| net.bytebuddy.implementation.bind.annotation | 
 This package contains annotations, types and classes that are responsible for binding a method to calling another
 method by interpreting annotations that indicate how a method should be bound to another method. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected MethodLookupEngine.Factory | 
ByteBuddy.methodLookupEngineFactory
The method lookup engine factory to apply to any type that is generated by this configuration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
MethodLookupEngine.Factory | 
ByteBuddy.getMethodLookupEngineFactory()
Returns the method lookup engine factory to apply to any type that is generated by this configuration. 
 | 
MethodLookupEngine.Factory | 
ByteBuddy.Proxy.getMethodLookupEngineFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
ByteBuddy | 
ByteBuddy.withMethodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory)
Defines a new  
MethodLookupEngine.Factory to be used for creating
 MethodLookupEngines for type creations based on this configuration. | 
ByteBuddy | 
ByteBuddy.Proxy.withMethodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory)  | 
| 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  
ByteBuddy configuration. | 
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 MethodLookupEngine.Factory | 
DynamicType.Builder.AbstractBase.methodLookupEngineFactory
The method lookup engine factory to be used by this builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
DynamicType.Builder<T> | 
DynamicType.Builder.methodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory)
Defines the use of a specific factory for a  
MethodLookupEngine. | 
DynamicType.Builder<S> | 
DynamicType.Builder.AbstractBase.methodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory)  | 
DynamicType.Builder<U> | 
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.methodLookupEngine(MethodLookupEngine.Factory methodLookupEngineFactory)  | 
| 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 | Class and Description | 
|---|---|
static class  | 
MethodLookupEngine.Default.Factory
A factory for creating  
MethodLookupEngine.Default lookup
 engines. | 
| Modifier and Type | Method and Description | 
|---|---|
protected DynamicType.Builder<T> | 
RedefinitionDynamicTypeBuilder.materialize(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)  | 
protected DynamicType.Builder<T> | 
RebaseDynamicTypeBuilder.materialize(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)  | 
| 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 | 
|---|---|
protected static class  | 
MethodCallProxy.ProxyMethodLookupEngine
A method lookup engine with hard-coded information about the methods to be implemented by a
  
MethodCallProxy. | 
class  | 
TrivialType
A trivial type that extends  
Object without defining any fields, methods or constructors. | 
class  | 
TypeProxy
A type proxy creates accessor methods for all overridable methods of a given type by subclassing the given type and
 delegating all method calls to accessor methods of the instrumented type it was created for. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Morph.Binder
A binder for the  
Morph annotation. | 
static class  | 
Pipe.Binder
A  
TargetMethodAnnotationDrivenBinder.ParameterBinder
 for binding the Pipe annotation. | 
| Constructor and Description | 
|---|
Redirection(TypeDescription forwardingType,
           MethodDescription sourceMethod,
           Assigner assigner,
           boolean serializableProxy,
           MethodLookupEngine.Factory methodLookupEngineFactory)
Creates a new redirection. 
 | 
RedirectionProxy(TypeDescription morphingType,
                TypeDescription instrumentedType,
                Implementation.SpecialMethodInvocation specialMethodInvocation,
                Assigner assigner,
                boolean serializableProxy,
                MethodLookupEngine.Factory methodLookupEngineFactory)
Creates a new redirection proxy. 
 | 
Copyright © 2014–2015. All rights reserved.