| Package | Description | 
|---|---|
| net.bytebuddy.description.method | Contains descriptions of Java methods and constructors as well as their parameters. | 
| 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.matcher | Contains an API for matching Java byte code entities. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.Token | MethodDescription.Token. accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) | 
| MethodDescription.Token | MethodDescription.AbstractBase. asToken(ElementMatcher<? super TypeDescription> matcher) | 
| Modifier and Type | Method and Description | 
|---|---|
| ByteCodeElement.Token.TokenList<MethodDescription.Token> | MethodList. asTokenList(ElementMatcher<? super TypeDescription> matcher)Transforms the list of method descriptions into a list of detached tokens. | 
| ByteCodeElement.Token.TokenList<MethodDescription.Token> | MethodList.AbstractBase. asTokenList(ElementMatcher<? super TypeDescription> matcher) | 
| ByteCodeElement.Token.TokenList<MethodDescription.Token> | MethodList.Empty. asTokenList(ElementMatcher<? super TypeDescription> matcher) | 
| Constructor and Description | 
|---|
| ForTokens(TypeDescription declaringType,
         MethodDescription.Token... token)Creates a new list of method descriptions for a list of detached tokens. | 
| Latent(TypeDescription declaringType,
      MethodDescription.Token token)Creates a new latent method description. | 
| Constructor and Description | 
|---|
| ForTokens(TypeDescription declaringType,
         List<? extends MethodDescription.Token> tokens)Creates a new list of method descriptions for a list of detached tokens. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.Token | Transformer.ForMethod.MethodModifierTransformer. transform(TypeDescription instrumentedType,
         MethodDescription.Token target) | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.Token | Transformer.ForMethod.MethodModifierTransformer. transform(TypeDescription instrumentedType,
         MethodDescription.Token target) | 
| Constructor and Description | 
|---|
| MethodDefinitionAdapter(MethodDescription.Token token)Creates a new method definition adapter. | 
| TransformedMethod(TypeDefinition declaringType,
                 MethodDescription.Token token,
                 MethodDescription.InDefinedShape methodDescription)Creates a new transformed method. | 
| Constructor and Description | 
|---|
| ForMethod(Transformer<MethodDescription.Token> transformer)Creates a new transforming method transformer. | 
| Modifier and Type | Method and Description | 
|---|---|
| InstrumentedType | InstrumentedType. withMethod(MethodDescription.Token token)Creates a new instrumented type that includes a new method or constructor. | 
| InstrumentedType.WithFlexibleName | InstrumentedType.WithFlexibleName. withMethod(MethodDescription.Token token) | 
| InstrumentedType.WithFlexibleName | InstrumentedType.Default. withMethod(MethodDescription.Token token) | 
| Constructor and Description | 
|---|
| Default(String name,
       int modifiers,
       TypeDescription.Generic superClass,
       List<? extends TypeVariableToken> typeVariables,
       List<? extends TypeDescription.Generic> interfaceTypes,
       List<? extends FieldDescription.Token> fieldTokens,
       List<? extends MethodDescription.Token> methodTokens,
       List<? extends AnnotationDescription> annotationDescriptions,
       TypeInitializer typeInitializer,
       LoadedTypeInitializer loadedTypeInitializer,
       TypeDescription declaringType,
       MethodDescription enclosingMethod,
       TypeDescription enclosingType,
       List<? extends TypeDescription> declaredTypes,
       boolean memberClass,
       boolean anonymousClass,
       boolean localClass)Creates a new instrumented type. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MethodRebaseResolver | MethodRebaseResolver.Default. make(TypeDescription instrumentedType,
    Set<? extends MethodDescription.Token> rebaseableMethodTokens,
    ClassFileVersion classFileVersion,
    AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
    MethodNameTransformer methodNameTransformer)Creates a new method rebase resolver. | 
| Constructor and Description | 
|---|
| RebaseableMatcher(TypeDescription instrumentedType,
                 Set<MethodDescription.Token> instrumentedMethods)Creates a new matcher for identifying rebasable methods. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract List<MethodDescription.Token> | ConstructorStrategy.Default. doExtractConstructors(TypeDescription instrumentedType)Extracts the relevant method tokens of the instrumented type's constructors. | 
| List<MethodDescription.Token> | ConstructorStrategy. extractConstructors(TypeDescription instrumentedType)Extracts constructors for a given super type. | 
| List<MethodDescription.Token> | ConstructorStrategy.Default. extractConstructors(TypeDescription instrumentedType) | 
| Constructor and Description | 
|---|
| ForMethodToken(MethodDescription.Token token)Creates a new latent matcher for a method token. | 
Copyright © 2014–2016. All rights reserved.