| Package | Description | 
|---|---|
| net.bytebuddy | Byte Buddy is a library for creating Java classes at runtime of a Java program. | 
| net.bytebuddy.agent.builder | An agent builder is used to easily implement load-time class-transformations using a Java agent. | 
| 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.pool | Classes of this package allow for the creating  TypeDescriptions without
 loading any classes. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> DynamicType.Builder<T> | ByteBuddy. rebase(Class<T> levelType,
      ClassFileLocator classFileLocator)
 Creates a dynamic type by weaving any changes into an already defined level type. | 
| <T> DynamicType.Builder<T> | ByteBuddy.Proxy. rebase(Class<T> levelType,
      ClassFileLocator classFileLocator) | 
| <T> DynamicType.Builder<T> | ByteBuddy. rebase(Class<T> levelType,
      ClassFileLocator classFileLocator,
      MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
 Creates a dynamic type by weaving any changes into an already defined level type. | 
| <T> DynamicType.Builder<T> | ByteBuddy.Proxy. rebase(Class<T> levelType,
      ClassFileLocator classFileLocator,
      MethodRebaseResolver.MethodNameTransformer methodNameTransformer) | 
| <T> DynamicType.Builder<T> | ByteBuddy. rebase(TypeDescription levelType,
      ClassFileLocator classFileLocator)
 Creates a dynamic type by weaving any changes into an already defined level type. | 
| <T> DynamicType.Builder<T> | ByteBuddy.Proxy. rebase(TypeDescription levelType,
      ClassFileLocator classFileLocator) | 
| <T> DynamicType.Builder<T> | ByteBuddy. rebase(TypeDescription levelType,
      ClassFileLocator classFileLocator,
      MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
 Creates a dynamic type by weaving any changes into an already defined level type. | 
| <T> DynamicType.Builder<T> | ByteBuddy.Proxy. rebase(TypeDescription levelType,
      ClassFileLocator classFileLocator,
      MethodRebaseResolver.MethodNameTransformer methodNameTransformer) | 
| <T> DynamicType.Builder<T> | ByteBuddy. redefine(Class<T> levelType,
        ClassFileLocator classFileLocator)
 Creates a dynamic type builder for redefining of the given type. | 
| <T> DynamicType.Builder<T> | ByteBuddy.Proxy. redefine(Class<T> levelType,
        ClassFileLocator classFileLocator) | 
| <T> DynamicType.Builder<T> | ByteBuddy. redefine(TypeDescription levelType,
        ClassFileLocator classFileLocator)
 Creates a dynamic type builder for redefining of the given type. | 
| <T> DynamicType.Builder<T> | ByteBuddy.Proxy. redefine(TypeDescription levelType,
        ClassFileLocator classFileLocator) | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | AgentBuilder.BinaryLocator.Default.InitializedThe  AgentBuilder.BinaryLocator.Defaultin its initialized form. | 
| Modifier and Type | Method and Description | 
|---|---|
| ClassFileLocator | AgentBuilder.BinaryLocator.Default.Initialized. getClassFileLocator() | 
| ClassFileLocator | AgentBuilder.BinaryLocator.Initialized. getClassFileLocator()Returns the class file locator to be used of an  AgentBuilder. | 
| Constructor and Description | 
|---|
| Initialized(String typeName,
           byte[] binaryRepresentation,
           TypePool.CacheProvider cacheProvider,
           ClassFileLocator classFileLocator)Creates a new initialized form of a default binary locator. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ClassFileLocator.AgentBasedA Java agent that allows the location of class files by emulating a retransformation. | 
| static class  | ClassFileLocator.CompoundA compound  ClassFileLocatorthat chains several locators. | 
| static class  | ClassFileLocator.ForClassLoaderA class file locator that queries a class loader for binary representations of class files. | 
| static class  | ClassFileLocator.ForFolderA class file locator that finds files from a standardized Java folder structure with
 folders donating packages and class files being saved as  <classname>.classfiles
 within their package folder. | 
| static class  | ClassFileLocator.ForJarFileA class file locator that locates classes within a Java jar file. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ClassFileLocator | ClassFileLocator.AgentBased. fromInstalledAgent(ClassLoader classLoader)Returns an agent-based class file locator for the given class loader and an already installed
 Byte Buddy-agent. | 
| static ClassFileLocator | ClassFileLocator.ForClassLoader. of(ClassLoader classLoader)Creates a class file locator for a given class loader. | 
| static ClassFileLocator | ClassFileLocator.ForClassLoader. ofClassPath()Creates a class file locator that queries the system class loader. | 
| Constructor and Description | 
|---|
| Compound(ClassFileLocator... classFileLocator)Creates a new compound class file locator. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <U> TypeWriter<U> | TypeWriter.Default. forRebasing(MethodRegistry.Compiled methodRegistry,
           TypeWriter.FieldPool fieldPool,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           ClassVisitorWrapper classVisitorWrapper,
           TypeAttributeAppender attributeAppender,
           ClassFileVersion classFileVersion,
           ClassFileLocator classFileLocator,
           TypeDescription targetType,
           MethodRebaseResolver methodRebaseResolver)Creates a type writer for creating a new type. | 
| static <U> TypeWriter<U> | TypeWriter.Default. forRedefinition(MethodRegistry.Compiled methodRegistry,
               TypeWriter.FieldPool fieldPool,
               AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
               ClassVisitorWrapper classVisitorWrapper,
               TypeAttributeAppender attributeAppender,
               ClassFileVersion classFileVersion,
               ClassFileLocator classFileLocator,
               TypeDescription targetType)Creates a type writer for creating a new type. | 
| Constructor and Description | 
|---|
| ForInlining(TypeDescription instrumentedType,
           LoadedTypeInitializer loadedTypeInitializer,
           InstrumentedType.TypeInitializer typeInitializer,
           List<DynamicType> explicitAuxiliaryTypes,
           ClassFileVersion classFileVersion,
           AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
           ClassVisitorWrapper classVisitorWrapper,
           TypeAttributeAppender attributeAppender,
           TypeWriter.FieldPool fieldPool,
           TypeWriter.MethodPool methodPool,
           MethodList instrumentedMethods,
           ClassFileLocator classFileLocator,
           TypeDescription targetType,
           MethodRebaseResolver methodRebaseResolver)Creates a new type writer for inling a type into an existing type description. | 
| 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. | 
| Constructor and Description | 
|---|
| Default(TypePool.CacheProvider cacheProvider,
       ClassFileLocator classFileLocator)Creates a new default type pool. | 
Copyright © 2014–2015. All rights reserved.