| 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 | This package contains helper types and implementations that are responsible for the actual writing of a byte array
 representing a Java class. | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuddy | ByteBuddy. withClassVisitor(ClassVisitorWrapper classVisitorWrapper)Defines a new class visitor to be appended to the current collection of  ClassVisitors
 that are to be applied onto any creation process of a dynamic type. | 
| ByteBuddy | ByteBuddy.MethodAnnotationTarget. withClassVisitor(ClassVisitorWrapper classVisitorWrapper) | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ClassVisitorWrapper.ChainAn ordered, immutable chain of  ClassVisitorWrappers. | 
| Modifier and Type | Method and Description | 
|---|---|
| ClassVisitorWrapper.Chain | ClassVisitorWrapper.Chain. append(ClassVisitorWrapper classVisitorWrapper)Adds a  ClassVisitorWrapperto the end of the chain such that the wrapped
 ASMClassVisitorwill be applied after the other class visitors. | 
| ClassVisitorWrapper.Chain | ClassVisitorWrapper.Chain. prepend(ClassVisitorWrapper classVisitorWrapper)Adds a  ClassVisitorWrapperto the beginning of the chain such that the wrapped
 ASMClassVisitorwill be applied before the other class visitors. | 
| Constructor and Description | 
|---|
| Chain(List<ClassVisitorWrapper> classVisitorWrappers)Creates a new immutable chain based on an existing list of  ClassVisitorWrappers
 where no copy of the received list is made. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder<T> | DynamicType.Builder. classVisitor(ClassVisitorWrapper classVisitorWrapper)Adds an additional ASM  ClassVisitorto this builder which will be applied in
 the construction process of this dynamic type. | 
| DynamicType.Builder<S> | DynamicType.Builder.AbstractBase. classVisitor(ClassVisitorWrapper classVisitorWrapper) | 
| DynamicType.Builder<U> | DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder. classVisitor(ClassVisitorWrapper classVisitorWrapper) | 
| Constructor and Description | 
|---|
| ForCreation(TypeDescription instrumentedType,
           ClassFileVersion classFileVersion,
           List<? extends MethodDescription> invokableMethods,
           ClassVisitorWrapper classVisitorWrapper,
           TypeAttributeAppender attributeAppender,
           TypeWriter.FieldPool fieldPool,
           TypeWriter.MethodPool methodPool)Creates a new type writer engine for redefining an existent class file. | 
| ForRedefinition(TypeDescription instrumentedType,
               TypeDescription targetType,
               ClassFileVersion classFileVersion,
               List<? extends MethodDescription> invokableMethods,
               ClassVisitorWrapper classVisitorWrapper,
               TypeAttributeAppender attributeAppender,
               TypeWriter.FieldPool fieldPool,
               TypeWriter.MethodPool methodPool,
               ClassFileLocator classFileLocator,
               MethodRebaseResolver methodRebaseResolver)Creates a new type writer that reads a class file and weaves in user defined method implementations. | 
Copyright © 2014. All rights reserved.