| Package | Description | 
|---|---|
| net.bytebuddy.agent.builder | An agent builder is used to easily implement load-time class-transformations using a Java agent. | 
| net.bytebuddy.asm | The ASM package contains classes that are meant for direct interaction with the ASM API. | 
| net.bytebuddy.description | Classes of this package allow the representation of Java classes, their member and their meta data. | 
| net.bytebuddy.description.annotation | Contains descriptions of annotations and annotation values. | 
| net.bytebuddy.description.method | Contains descriptions of Java methods and constructors as well as their parameters. | 
| net.bytebuddy.description.type | Contains descriptions of Java types and packages. | 
| 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.implementation | The implementation package contains any logic for intercepting method calls. | 
| net.bytebuddy.implementation.attribute | All types and classes in this package are responsible for writing attributes for a given Java byte code element,
 i.e. fields, types and byte code methods. | 
| net.bytebuddy.implementation.auxiliary | Auxiliary types describe helper types that aid as a supplementary to a given
  InstrumentedType. | 
| net.bytebuddy.implementation.bytecode.constant | StackManipulations in this package are responsible for
 creating compile-time constants and pushing them onto the operand stack. | 
| net.bytebuddy.implementation.bytecode.member | StackManipulations of this package are responsible for
 accessing type or method members, i.e. reading and writing of fields, invoking of methods, access of local variables
 within a method invocation or returning values from method invocations. | 
| net.bytebuddy.matcher | Contains an API for matching Java byte code entities. | 
| net.bytebuddy.pool | Classes of this package allow for the creating  TypeDescriptions without
 loading any classes. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodVisitor | AgentBuilder.LambdaInstrumentationStrategy.MetaFactoryRedirection. wrap(TypeDescription instrumentedType,
    MethodDescription.InDefinedShape methodDescription,
    MethodVisitor methodVisitor) | 
| MethodVisitor | AgentBuilder.LambdaInstrumentationStrategy.AlternativeMetaFactoryRedirection. wrap(TypeDescription instrumentedType,
    MethodDescription.InDefinedShape methodDescription,
    MethodVisitor methodVisitor) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected MethodDescription.InDefinedShape | Advice.Dispatcher.Active. adviseMethodThe advise method. | 
| protected MethodDescription.InDefinedShape | Advice.Dispatcher.Active.Resolved. adviseMethodThe represented advise method. | 
| protected MethodDescription.InDefinedShape | Advice.Dispatcher.Active.CodeTranslationVisitor. adviseMethodThe advise method. | 
| protected MethodDescription.InDefinedShape | Advice.AdviceVisitor. instrumentedMethodA description of the instrumented method. | 
| protected MethodDescription.InDefinedShape | Advice.Dispatcher.Active.CodeTranslationVisitor. instrumentedMethodThe instrumented method. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract MethodVisitor | Advice.Dispatcher.Active.Resolved. apply(MethodVisitor methodVisitor,
     MethodDescription.InDefinedShape instrumentedMethod)Applies a resolution for a given instrumented method. | 
| protected MethodVisitor | Advice.Dispatcher.Active.Resolved.ForMethodEnter. apply(MethodVisitor methodVisitor,
     MethodDescription.InDefinedShape instrumentedMethod) | 
| protected MethodVisitor | Advice.Dispatcher.Active.Resolved.ForMethodExit. apply(MethodVisitor methodVisitor,
     MethodDescription.InDefinedShape instrumentedMethod) | 
| MethodVisitor | Advice.Dispatcher.Resolved. apply(String internalName,
     String descriptor,
     MethodVisitor methodVisitor,
     MethodDescription.InDefinedShape instrumentedMethod)Applies this dispatcher for a method that is discovered in the advice class's class file. | 
| MethodVisitor | Advice.Dispatcher.Inactive. apply(String internalName,
     String descriptor,
     MethodVisitor methodVisitor,
     MethodDescription.InDefinedShape instrumentedMethod) | 
| MethodVisitor | Advice.Dispatcher.Active.Resolved. apply(String internalName,
     String descriptor,
     MethodVisitor methodVisitor,
     MethodDescription.InDefinedShape instrumentedMethod) | 
| boolean | AsmVisitorWrapper.ForDeclaredMethods.Entry. matches(MethodDescription.InDefinedShape target) | 
| MethodVisitor | AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper. wrap(TypeDescription instrumentedType,
    MethodDescription.InDefinedShape methodDescription,
    MethodVisitor methodVisitor)Wraps a method visitor. | 
| MethodVisitor | AsmVisitorWrapper.ForDeclaredMethods.Entry. wrap(TypeDescription instrumentedType,
    MethodDescription.InDefinedShape methodDescription,
    MethodVisitor methodVisitor) | 
| MethodVisitor | Advice. wrap(TypeDescription instrumentedType,
    MethodDescription.InDefinedShape methodDescription,
    MethodVisitor methodVisitor) | 
| Modifier and Type | Method and Description | 
|---|---|
| AsmVisitorWrapper.ForDeclaredMethods | AsmVisitorWrapper.ForDeclaredMethods. method(ElementMatcher<? super MethodDescription.InDefinedShape> matcher,
      AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper methodVisitorWrapper)Defines a new method visitor wrapper to be applied if the given method matcher is matched. | 
| Constructor and Description | 
|---|
| Active(MethodDescription.InDefinedShape adviseMethod)Creates a dispatcher for active advise. | 
| AdviceVisitor(MethodVisitor methodVisitor,
             MethodDescription.InDefinedShape instrumentedMethod,
             Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
             Advice.Dispatcher.Resolved.ForMethodExit methodExit,
             byte[] binaryRepresentation)Creates an advise visitor. | 
| CodeTranslationVisitor(MethodVisitor methodVisitor,
                      MethodDescription.InDefinedShape instrumentedMethod,
                      MethodDescription.InDefinedShape adviseMethod,
                      Map<Integer,Advice.Dispatcher.Active.Resolved.OffsetMapping.Target> offsetMappings)Creates a new code translation visitor. | 
| ForMethodEnter(MethodDescription.InDefinedShape adviseMethod)Creates a new resolved dispatcher for implementing method enter advise. | 
| ForMethodExit(MethodDescription.InDefinedShape adviseMethod,
             TypeDescription enterType)Creates a new resolved dispatcher for implementing method exit advise. | 
| Resolved(MethodDescription.InDefinedShape adviseMethod,
        Advice.Dispatcher.Active.Resolved.OffsetMapping.Factory... factory)Creates a new resolved version of a dispatcher. | 
| ReturnValueDiscarding(MethodVisitor methodVisitor,
                     MethodDescription.InDefinedShape instrumentedMethod,
                     MethodDescription.InDefinedShape adviseMethod,
                     Map<Integer,Advice.Dispatcher.Active.Resolved.OffsetMapping.Target> offsetMappings,
                     StackSize additionalVariableSize)Creates a new code translation visitor that retains the return value of the enter advise. | 
| ReturnValueRetaining(MethodVisitor methodVisitor,
                    MethodDescription.InDefinedShape instrumentedMethod,
                    MethodDescription.InDefinedShape adviseMethod,
                    Map<Integer,Advice.Dispatcher.Active.Resolved.OffsetMapping.Target> offsetMappings)Creates a new code translation visitor that retains the return value of the enter advise. | 
| WithExceptionHandling(MethodVisitor methodVisitor,
                     MethodDescription.InDefinedShape instrumentedMethod,
                     Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
                     Advice.Dispatcher.Resolved.ForMethodExit methodExit,
                     byte[] binaryRepresentation)Creates a new advise visitor that captures exception by weaving try-catch blocks around user code. | 
| WithoutExceptionHandling(MethodVisitor methodVisitor,
                        MethodDescription.InDefinedShape instrumentedMethod,
                        Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
                        Advice.Dispatcher.Resolved.ForMethodExit methodExit,
                        byte[] binaryRepresentation)Creates a new advise visitor that does not capture exceptions. | 
| Constructor and Description | 
|---|
| Entry(ElementMatcher<? super MethodDescription.InDefinedShape> matcher,
     AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper methodVisitorWrapper)Creates a new entry. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | TypeVariableSource.Visitor. onMethod(MethodDescription.InDefinedShape methodDescription)Applies the visitor on a method. | 
| TypeVariableSource | TypeVariableSource.Visitor.NoOp. onMethod(MethodDescription.InDefinedShape methodDescription) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | AnnotationDescription. getValue(MethodDescription.InDefinedShape methodDescription)Returns the value of the given method for this annotation value. | 
| Object | AnnotationDescription.ForLoadedAnnotation. getValue(MethodDescription.InDefinedShape methodDescription) | 
| Object | AnnotationDescription.Latent. getValue(MethodDescription.InDefinedShape methodDescription) | 
| Object | AnnotationDescription.Latent.Loadable. getValue(MethodDescription.InDefinedShape methodDescription) | 
| <T> T | AnnotationDescription. getValue(MethodDescription.InDefinedShape methodDescription,
        Class<T> type)Returns the value of the given method for this annotation value and performs a casting to the given value. | 
| <T> T | AnnotationDescription.AbstractBase. getValue(MethodDescription.InDefinedShape methodDescription,
        Class<T> type) | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MethodDescription.ForLoadedConstructorAn implementation of a method description for a loaded constructor. | 
| static class  | MethodDescription.ForLoadedMethodAn implementation of a method description for a loaded method. | 
| static class  | MethodDescription.InDefinedShape.AbstractBaseAn abstract base implementation of a method description in its defined shape. | 
| static class  | MethodDescription.LatentA latent method description describes a method that is not attached to a declaring
  TypeDescription. | 
| static class  | MethodDescription.Latent.TypeInitializerA method description that represents the type initializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.InDefinedShape | MethodDescription.InDefinedShape.AbstractBase. asDefined() | 
| MethodDescription.InDefinedShape | MethodDescription.TypeSubstituting. asDefined() | 
| MethodDescription.InDefinedShape | MethodList.ForLoadedType. get(int index) | 
| MethodDescription.InDefinedShape | MethodList.ForTokens. get(int index) | 
| MethodDescription.InDefinedShape | ParameterDescription.InDefinedShape. getDeclaringMethod() | 
| MethodDescription.InDefinedShape | ParameterDescription.ForLoadedParameter.OfMethod. getDeclaringMethod() | 
| MethodDescription.InDefinedShape | ParameterDescription.ForLoadedParameter.OfConstructor. getDeclaringMethod() | 
| MethodDescription.InDefinedShape | ParameterDescription.ForLoadedParameter.OfLegacyVmMethod. getDeclaringMethod() | 
| MethodDescription.InDefinedShape | ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor. getDeclaringMethod() | 
| MethodDescription.InDefinedShape | ParameterDescription.Latent. getDeclaringMethod() | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodList<MethodDescription.InDefinedShape> | MethodList. asDefined()Returns this list of these method descriptions resolved to their defined shape. | 
| MethodList<MethodDescription.InDefinedShape> | MethodList.AbstractBase. asDefined() | 
| MethodList<MethodDescription.InDefinedShape> | MethodList.Empty. asDefined() | 
| Constructor and Description | 
|---|
| ForTokens(MethodDescription.InDefinedShape declaringMethod,
         List<? extends ParameterDescription.Token> tokens)Creates a new parameter list for the provided tokens. | 
| ForTypes(MethodDescription.InDefinedShape methodDescription,
        List<? extends TypeDefinition> typeDefinitions)Creates a new parameter type list. | 
| ForTypes(MethodDescription.InDefinedShape methodDescription,
        TypeDefinition... typeDefinition)Creates a new parameter type list. | 
| Latent(MethodDescription.InDefinedShape declaringMethod,
      ParameterDescription.Token token,
      int index,
      int offset)Creates a latent parameter description. | 
| Latent(MethodDescription.InDefinedShape declaringMethod,
      TypeDescription.Generic parameterType,
      int index,
      int offset)Creates a new latent parameter descriptions for a parameter without explicit meta data or annotations. | 
| Latent(MethodDescription.InDefinedShape declaringMethod,
      TypeDescription.Generic parameterType,
      List<? extends AnnotationDescription> declaredAnnotations,
      String name,
      Integer modifiers,
      int index,
      int offset)Creates a latent parameter description. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodList<MethodDescription.InDefinedShape> | TypeDescription. getDeclaredMethods() | 
| MethodList<MethodDescription.InDefinedShape> | TypeDescription.ForLoadedType. getDeclaredMethods() | 
| MethodList<MethodDescription.InDefinedShape> | TypeDescription.ArrayProjection. getDeclaredMethods() | 
| MethodList<MethodDescription.InDefinedShape> | TypeDescription.Latent. getDeclaredMethods() | 
| MethodList<MethodDescription.InDefinedShape> | TypeDescription.ForPackageDescription. getDeclaredMethods() | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeDescription.Generic | TypeDescription.Generic.Visitor.TypeVariableErasing.TypeVariableReviser. onMethod(MethodDescription.InDefinedShape methodDescription) | 
| TypeDescription.Generic | TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor. onMethod(MethodDescription.InDefinedShape methodDescription) | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.InDefinedShape | MethodTransformer.Simple.TransformedMethod. asDefined() | 
| Constructor and Description | 
|---|
| TransformedMethod(TypeDefinition declaringType,
                 MethodDescription.Token token,
                 MethodDescription.InDefinedShape methodDescription)Creates a new transformed method. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | TypeWriter.Default.ForInlining.TypeInitializerDelegateA method containing the original type initializer of a redefined class. | 
| protected static class  | TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridgeA method representing an accessor bridge method. | 
| protected static class  | TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTargetA method representing a bridge's target method in its defined shape. | 
| protected static class  | TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridgeA method describing a visibility bridge. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodList<MethodDescription.InDefinedShape> | InstrumentedType.Default. getDeclaredMethods() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected MethodGraph.Compiler.Default.Key.Harmonized<V> | MethodGraph.Compiler.Default.Key.Harmonized. extend(MethodDescription.InDefinedShape methodDescription,
      MethodGraph.Compiler.Default.Harmonizer<V> harmonizer)Extends this key by the given method description. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructorAn description of a rebased constructor. | 
| protected static class  | MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethodA description of a rebased method. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.InDefinedShape | MethodRebaseResolver.Resolution. getResolvedMethod()Returns the resolved method if this resolution represents a rebased method or the original method. | 
| MethodDescription.InDefinedShape | MethodRebaseResolver.Resolution.Preserved. getResolvedMethod() | 
| MethodDescription.InDefinedShape | MethodRebaseResolver.Resolution.ForRebasedMethod. getResolvedMethod() | 
| MethodDescription.InDefinedShape | MethodRebaseResolver.Resolution.ForRebasedConstructor. getResolvedMethod() | 
| Modifier and Type | Method and Description | 
|---|---|
| static MethodRebaseResolver.Resolution | MethodRebaseResolver.Resolution.ForRebasedMethod. of(MethodDescription.InDefinedShape methodDescription,
  MethodNameTransformer methodNameTransformer)Resolves a rebasement for the provided method. | 
| static MethodRebaseResolver.Resolution | MethodRebaseResolver.Resolution.ForRebasedConstructor. of(MethodDescription.InDefinedShape methodDescription,
  TypeDescription placeholderType)Resolves a constructor rebasement. | 
| MethodRebaseResolver.Resolution | MethodRebaseResolver. resolve(MethodDescription.InDefinedShape methodDescription)Checks if a method is eligible for rebasing and resolves this possibly rebased method. | 
| MethodRebaseResolver.Resolution | MethodRebaseResolver.Disabled. resolve(MethodDescription.InDefinedShape methodDescription) | 
| MethodRebaseResolver.Resolution | MethodRebaseResolver.Default. resolve(MethodDescription.InDefinedShape methodDescription) | 
| Constructor and Description | 
|---|
| ForRebasedConstructor(MethodDescription.InDefinedShape methodDescription)Creates a new resolution for a rebased constructor. | 
| ForRebasedMethod(MethodDescription.InDefinedShape methodDescription)Creates a resolution for a rebased method. | 
| Preserved(MethodDescription.InDefinedShape methodDescription)Creates a new  MethodRebaseResolver.Resolutionfor
 a non-rebased method. | 
| RebasedConstructor(MethodDescription.InDefinedShape methodDescription,
                  TypeDescription placeholderType)Creates a new rebased constructor. | 
| RebasedMethod(MethodDescription.InDefinedShape methodDescription,
             MethodNameTransformer methodNameTransformer)Creates a new rebased method. | 
| Constructor and Description | 
|---|
| Default(Map<MethodDescription.InDefinedShape,MethodRebaseResolver.Resolution> resolutions,
       List<DynamicType> dynamicTypes)Creates a new default method rebased resolver. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | Implementation.Context.Default.AbstractPropertyAccessorMethodA base implementation of a method that accesses a property of an instrumented type. | 
| protected static class  | Implementation.Context.Default.AccessorMethodA description of an accessor method to access another method from outside the instrumented type. | 
| protected static class  | Implementation.Context.Default.FieldGetterA description of a field getter method. | 
| protected static class  | Implementation.Context.Default.FieldSetterA description of a field setter method. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected MethodDescription.InDefinedShape | InvokeDynamic. bootstrapMethodThe bootstrap method. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.InDefinedShape | Implementation.Context.Default. registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation) | 
| MethodDescription.InDefinedShape | Implementation.Context.Default. registerGetterFor(FieldDescription fieldDescription) | 
| MethodDescription.InDefinedShape | Implementation.Context.Default. registerSetterFor(FieldDescription fieldDescription) | 
| Modifier and Type | Method and Description | 
|---|---|
| static InvokeDynamic.WithImplicitTarget | InvokeDynamic. bootstrap(MethodDescription.InDefinedShape bootstrapMethod,
         List<?> rawArguments)Implements the instrumented method with a dynamic method invocation which is linked at runtime using the
 specified bootstrap method or constructor. | 
| static InvokeDynamic.WithImplicitTarget | InvokeDynamic. bootstrap(MethodDescription.InDefinedShape bootstrapMethod,
         Object... rawArgument)Implements the instrumented method with a dynamic method invocation which is linked at runtime using the
 specified bootstrap method or constructor. | 
| Constructor and Description | 
|---|
| AbstractDelegator(MethodDescription.InDefinedShape bootstrapMethod,
                 List<?> handleArguments,
                 InvokeDynamic.InvocationProvider invocationProvider,
                 InvokeDynamic.TerminationHandler terminationHandler,
                 Assigner assigner,
                 Assigner.Typing typing)Creates a new abstract delegator for a dynamic method invocation. | 
| ForMethodDescription(MethodDescription.InDefinedShape methodDescription)Creates a new target for substituting a given method. | 
| InvokeDynamic(MethodDescription.InDefinedShape bootstrapMethod,
             List<?> handleArguments,
             InvokeDynamic.InvocationProvider invocationProvider,
             InvokeDynamic.TerminationHandler terminationHandler,
             Assigner assigner,
             Assigner.Typing typing)Creates a new invoke dynamic implementation. | 
| WithImplicitArguments(MethodDescription.InDefinedShape bootstrapMethod,
                     List<?> handleArguments,
                     InvokeDynamic.InvocationProvider invocationProvider,
                     InvokeDynamic.TerminationHandler terminationHandler,
                     Assigner assigner,
                     Assigner.Typing typing)Creates a new dynamic method invocation with implicit arguments. | 
| WithImplicitArgumentType(MethodDescription.InDefinedShape bootstrapMethod,
                        List<?> handleArguments,
                        InvokeDynamic.InvocationProvider invocationProvider,
                        InvokeDynamic.TerminationHandler terminationHandler,
                        Assigner assigner,
                        Assigner.Typing typing,
                        int index)Creates a new invoke dynamic instance with an implicit field type for the provided value. | 
| WithImplicitFieldType(MethodDescription.InDefinedShape bootstrapMethod,
                     List<?> handleArguments,
                     InvokeDynamic.InvocationProvider invocationProvider,
                     InvokeDynamic.TerminationHandler terminationHandler,
                     Assigner assigner,
                     Assigner.Typing typing,
                     Object value)Creates a new invoke dynamic instance with an implicit field type for the provided value. | 
| WithImplicitTarget(MethodDescription.InDefinedShape bootstrapMethod,
                  List<?> handleArguments,
                  InvokeDynamic.InvocationProvider invocationProvider,
                  InvokeDynamic.TerminationHandler terminationHandler,
                  Assigner assigner,
                  Assigner.Typing typing)Creates a new dynamic method invocation with implicit arguments and an implicit invocation target. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | AnnotationValueFilter. isRelevant(AnnotationDescription annotationDescription,
          MethodDescription.InDefinedShape methodDescription)Checks if the given annotation value should be written as the value of the provided annotation property. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.InDefinedShape | AuxiliaryType.MethodAccessorFactory. registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation)Registers an accessor method for a
  Implementation.SpecialMethodInvocationwhich cannot itself be
 triggered invoked directly from outside a type. | 
| MethodDescription.InDefinedShape | AuxiliaryType.MethodAccessorFactory.Illegal. registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation) | 
| MethodDescription.InDefinedShape | AuxiliaryType.MethodAccessorFactory. registerGetterFor(FieldDescription fieldDescription)Registers a getter for the given  FieldDescriptionwhich might
 itself not be accessible from outside the class. | 
| MethodDescription.InDefinedShape | AuxiliaryType.MethodAccessorFactory.Illegal. registerGetterFor(FieldDescription fieldDescription) | 
| MethodDescription.InDefinedShape | AuxiliaryType.MethodAccessorFactory. registerSetterFor(FieldDescription fieldDescription)Registers a setter for the given  FieldDescriptionwhich might
 itself not be accessible from outside the class. | 
| MethodDescription.InDefinedShape | AuxiliaryType.MethodAccessorFactory.Illegal. registerSetterFor(FieldDescription fieldDescription) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected MethodDescription.InDefinedShape | MethodConstant. methodDescriptionA description of the method to be loaded onto the stack. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MethodConstant.CanCache | MethodConstant. forMethod(MethodDescription.InDefinedShape methodDescription)Creates a stack manipulation that loads a method constant onto the operand stack. | 
| static StackManipulation | MethodTypeConstant. of(MethodDescription.InDefinedShape methodDescription)Transforms the given method into a stack manipulation that loads its type onto the operand stack. | 
| static StackManipulation | MethodHandleConstant. of(MethodDescription.InDefinedShape methodDescription)Creates a method handle for a method. | 
| Constructor and Description | 
|---|
| ForConstructor(MethodDescription.InDefinedShape methodDescription)Creates a new  MethodConstantfor
 creating aConstructorinstance. | 
| ForMethod(MethodDescription.InDefinedShape methodDescription)Creates a new  MethodConstantfor
 creating aMethodinstance. | 
| MethodConstant(MethodDescription.InDefinedShape methodDescription)Creates a new method constant. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MethodInvocation.WithImplicitInvocationTargetType | MethodInvocation. invoke(MethodDescription.InDefinedShape methodDescription)Creates a method invocation with an implicitly determined invocation type. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T extends MethodDescription> | ElementMatchers. definedMethod(ElementMatcher<? super MethodDescription.InDefinedShape> matcher)Matches a method in its defined shape. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDescription.InDefinedShape | TypePool.Default.LazyTypeDescription.MethodTokenList. get(int index) | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodList<MethodDescription.InDefinedShape> | TypePool.Default.LazyTypeDescription. getDeclaredMethods() | 
| MethodList<MethodDescription.InDefinedShape> | TypePool.LazyFacade.LazyResolution.LazyTypeDescription. getDeclaredMethods() | 
| Modifier and Type | Method and Description | 
|---|---|
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw. resolveExceptionTypes(List<String> exceptionTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod) | 
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed. resolveExceptionTypes(List<String> exceptionTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod) | 
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod. resolveExceptionTypes(List<String> exceptionTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod)Resolves the generic parameter types of the represented method. | 
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized. resolveExceptionTypes(List<String> exceptionTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod) | 
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw. resolveParameterTypes(List<String> parameterTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod) | 
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed. resolveParameterTypes(List<String> parameterTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod) | 
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod. resolveParameterTypes(List<String> parameterTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod)Resolves the generic parameter types of the represented method. | 
| TypeList.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized. resolveParameterTypes(List<String> parameterTypeDescriptors,
                     TypePool typePool,
                     Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
                     MethodDescription.InDefinedShape definingMethod) | 
| TypeDescription.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw. resolveReturnType(String returnTypeDescriptor,
                 TypePool typePool,
                 Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
                 MethodDescription.InDefinedShape definingMethod) | 
| TypeDescription.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed. resolveReturnType(String returnTypeDescriptor,
                 TypePool typePool,
                 Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
                 MethodDescription.InDefinedShape definingMethod) | 
| TypeDescription.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod. resolveReturnType(String returnTypeDescriptor,
                 TypePool typePool,
                 Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
                 MethodDescription.InDefinedShape definingMethod)Resolves the return type of the represented method. | 
| TypeDescription.Generic | TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized. resolveReturnType(String returnTypeDescriptor,
                 TypePool typePool,
                 Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
                 MethodDescription.InDefinedShape definingMethod) | 
Copyright © 2014–2016. All rights reserved.