Uses of Interface
net.bytebuddy.description.method.MethodDescription
Packages that use MethodDescription
Package
Description
Byte Buddy is a library for creating Java classes at runtime of a Java program.
An agent builder is used to easily implement load-time class-transformations using a Java agent.
The ASM package contains classes that are meant for direct interaction with the ASM API.
A package for types that allow for applying Byte Buddy transformation during a build process.
Contains descriptions of Java methods and constructors as well as their parameters.
Contains descriptions of Java types and packages.
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.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type.All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type.The implementation package contains any logic for intercepting method calls.
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType.The types and classes of this package are responsible for binding a method call to calling another method.
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.
Types and classes in this package are responsible for creating Java byte code for a given byte code target
which is represented by a
MethodDescription.StackManipulations of this package are responsible for
accessing type or method members, i.e.Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescriptions without
loading any classes.This package contains utility classes for common use within any Byte Buddy logic.
A package containing visitor classes for ASM.
-
Uses of MethodDescription in net.bytebuddy
Fields in net.bytebuddy with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprotected final LatentMatcher<? super MethodDescription> ByteBuddy.ignoredMethodsA matcher for identifying methods that should be excluded from instrumentation.Methods in net.bytebuddy with parameters of type MethodDescriptionModifier and TypeMethodDescriptionByteBuddy.EnumerationImplementation.InitializationAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ByteBuddy.EnumerationImplementation.ValuesMethodAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ByteBuddy.RecordConstructorStrategy.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Method parameters in net.bytebuddy with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionByteBuddy.ignore(ElementMatcher<? super MethodDescription> ignoredMethods) Creates a new configuration where anyMethodDescriptionthat matches the provided method matcher is excluded from instrumentation.ByteBuddy.ignore(LatentMatcher<? super MethodDescription> ignoredMethods) Creates a new configuration where anyMethodDescriptionthat matches the provided method matcher is excluded from instrumentation.Constructor parameters in net.bytebuddy with type arguments of type MethodDescriptionModifierConstructorDescriptionprotectedByteBuddy(ClassFileVersion classFileVersion, NamingStrategy namingStrategy, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, InstrumentedType.Factory instrumentedTypeFactory, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods) Creates a new Byte Buddy instance. -
Uses of MethodDescription in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.targetMethodThe target method of the lambda expression.Fields in net.bytebuddy.agent.builder with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprivate final LatentMatcher<? super MethodDescription> AgentBuilder.Transformer.ForAdvice.Entry.matcherThe matcher for advised methods.Methods in net.bytebuddy.agent.builder that return types with arguments of type MethodDescriptionModifier and TypeMethodDescriptionprotected LatentMatcher<? super MethodDescription> AgentBuilder.Transformer.ForAdvice.Entry.getMatcher()Returns the matcher for advised methods.Methods in net.bytebuddy.agent.builder with parameters of type MethodDescriptionModifier and TypeMethodDescriptionAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.AgentBuilder.LambdaInstrumentationStrategy.LambdaMetafactoryFactory.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.invoke(MethodDescription methodDescription) Invokes this invocation.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingDirectInvocation.invoke(MethodDescription methodDescription) Invokes this invocation.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingMethodHandle.invoke(MethodDescription methodDescription) Invokes this invocation.protected static ByteCodeAppenderAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.of(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, JavaConstant.MethodHandle.HandleType handleType, TypeDescription targetType) Resolves an appropriate appender for this lambda expression.Method parameters in net.bytebuddy.agent.builder with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionAgentBuilder.Transformer.ForAdvice.advice(ElementMatcher<? super MethodDescription> matcher, String name) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.advice(ElementMatcher<? super MethodDescription> matcher, String enter, String exit) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.advice(LatentMatcher<? super MethodDescription> matcher, String name) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.advice(LatentMatcher<? super MethodDescription> matcher, String enter, String exit) Applies the given advice class onto all methods that satisfy the supplied matcher.Constructors in net.bytebuddy.agent.builder with parameters of type MethodDescriptionModifierConstructorDescriptionprotectedAppender(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher dispatcher) Creates an appender of a lambda expression's functional method.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type MethodDescriptionModifierConstructorDescriptionprotectedEntry(LatentMatcher<? super MethodDescription> matcher) Creates a new entry.protectedForSplitAdvice(LatentMatcher<? super MethodDescription> matcher, String enter, String exit) Creates a new entry for an advice class with explicit entry and exit advice classes.protectedForUnifiedAdvice(LatentMatcher<? super MethodDescription> matcher, String name) Creates a new entry for an advice class where both the (optional) entry and exit advice methods are declared by the same class. -
Uses of MethodDescription in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement interfaces with type arguments of type MethodDescriptionModifier and TypeClassDescriptionprotected static classAn entry describing a method visitor wrapper paired with a matcher for fields to be wrapped.Fields in net.bytebuddy.asm declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.delegateThe delegation method.protected final MethodDescriptionAdvice.AdviceVisitor.instrumentedMethodA description of the instrumented method.protected final MethodDescriptionAdvice.ArgumentHandler.ForAdvice.Default.instrumentedMethodThe instrumented method.protected final MethodDescriptionAdvice.ArgumentHandler.ForInstrumentedMethod.Default.instrumentedMethodThe instrumented method.private final MethodDescriptionAdvice.Dispatcher.Delegating.Resolved.AdviceMethodWriter.instrumentedMethodThe instrumented method.private final MethodDescriptionAdvice.Dispatcher.Inlining.CodeTranslationVisitor.instrumentedMethodThe instrumented method.protected final MethodDescriptionAdvice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.instrumentedMethodThe instrumented method.private final MethodDescriptionAdvice.Dispatcher.RelocationHandler.ForType.Bound.instrumentedMethodThe instrumented method.private final MethodDescriptionAdvice.Dispatcher.RelocationHandler.ForValue.Bound.instrumentedMethodThe instrumented method.protected final MethodDescriptionAdvice.MethodSizeHandler.Default.instrumentedMethodThe instrumented method.protected final MethodDescriptionAdvice.StackMapFrameHandler.Default.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.SubstitutingMethodVisitor.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Bound.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Unbound.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionMemberAttributeExtension.ForMethod.AttributeAppendingMethodVisitor.methodDescriptionThe instrumented method.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForInvocation.Factory.methodDescriptionThe invoked method or constructor.private final MethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForInvocation.methodDescriptionThe invoked method or constructor.private final MethodDescriptionMemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple.methodDescriptionThe method to substitute with.private final MethodDescriptionMemberSubstitution.Substitution.ForMethodInvocation.OfGivenMethod.methodDescriptionThe method to invoke.Fields in net.bytebuddy.asm with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprivate final ElementMatcher<? super MethodDescription> AsmVisitorWrapper.ForDeclaredMethods.Entry.matcherThe matcher to identify methods to be wrapped.private final ElementMatcher<? super MethodDescription> MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching.matcherThe matcher to use for locating the method to substitute with.private final ElementMatcher<? super MethodDescription> MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod.matcherThe matcher for locating the method to substitute with.private final ElementMatcher<? super MethodDescription> MemberSubstitution.WithoutSpecification.ForMatchedMethod.matcherA matcher for any method or constructor that should be substituted.private final List<ModifierAdjustment.Adjustment<MethodDescription>> ModifierAdjustment.methodAdjustmentsA list of adjustments to apply to the instrumented type's methods.private final List<ModifierAdjustment.Adjustment<MethodDescription>> ModifierAdjustment.ModifierAdjustingClassVisitor.methodAdjustmentsA list of method modifier adjustments to apply.private final ElementMatcher<? super MethodDescription> AnnotationRemoval.AnnotationRemovingClassVisitor.methodMatcherMatches methods from which annotations should be removed.private final ElementMatcher<? super MethodDescription> AnnotationRemoval.methodMatcherMatches methods from which annotations should be removed.private final ElementMatcher.Junction<MethodDescription> MemberRemoval.MemberRemovingClassVisitor.methodMatcherThe matcher that determines method removal.private final ElementMatcher.Junction<MethodDescription> MemberRemoval.methodMatcherThe matcher that decides upon method removal.private final ElementMatcher<? super MethodDescription> MemberSubstitution.Replacement.ForElementMatchers.Factory.methodMatcherThe method matcher to consider when discovering methods.private final ElementMatcher<? super MethodDescription> MemberSubstitution.Replacement.ForElementMatchers.methodMatcherThe method matcher to consider when discovering methods.private final Map<String, MethodDescription> AnnotationRemoval.AnnotationRemovingClassVisitor.methodsA map of internal method names and descriptors to consider for removal.private final Map<String, MethodDescription> AsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor.methodsA mapping of fields by their name.private final Map<String, MethodDescription> MemberRemoval.MemberRemovingClassVisitor.methodsA mapping of method names and descriptors to their description.private final Map<String, MethodDescription> ModifierAdjustment.ModifierAdjustingClassVisitor.methodsA mapping of method names and descriptors to their description.Methods in net.bytebuddy.asm that return MethodDescriptionModifier and TypeMethodDescriptionMemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching.resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple.resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.Methods in net.bytebuddy.asm with parameters of type MethodDescriptionModifier and TypeMethodDescriptionAdvice.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Advice.Delegator.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Materializes an invocation.Advice.Delegator.ForDynamicInvocation.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Materializes an invocation.Advice.Delegator.ForRegularInvocation.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Materializes an invocation.protected abstract org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodExit.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Advice.OffsetMapping.ForOrigin.Renderer.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForConstantValue.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForDescriptor.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForJavaSignature.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForMethodName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForPropertyName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.ClassVisitorFactory.AttributeTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.ConstantArrayTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.ConstantDynamicTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.ConstantTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.FrameTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.HandleTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.LabelArrayTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.LabelTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.NullCheckedConstruction.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ClassVisitorFactory.TypePathTranslator.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.protected abstract MemberSubstitution.Source.ValueMemberSubstitution.Source.argument(int index, TypeList.Generic parameters, Map<Integer, Integer> offsets, MemberSubstitution.Target target, MethodDescription instrumentedMethod) Resolves a value representation of the parameter of the specified index ornullif no such parameter is available.protected abstract List<MemberSubstitution.Source.Value> MemberSubstitution.Source.arguments(boolean includesSelf, TypeList.Generic parameters, Map<Integer, Integer> offsets, MemberSubstitution.Target target, MethodDescription instrumentedMethod) Resolves a list of value representation of all parameters.Advice.Dispatcher.Delegating.Resolved.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.Inactive.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.Inlining.Resolved.ForMethodExit.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.RelocationHandler.bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this relocation handler to a relocation dispatcher.Advice.Dispatcher.RelocationHandler.Disabled.bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this relocation handler to a relocation dispatcher.Advice.Dispatcher.RelocationHandler.ForType.bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this relocation handler to a relocation dispatcher.Advice.Dispatcher.RelocationHandler.ForValue.OfDefault.bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this relocation handler to a relocation dispatcher.Advice.Dispatcher.RelocationHandler.ForValue.OfNonDefault.bind(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this relocation handler to a relocation dispatcher.Advice.Dispatcher.Resolved.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.MemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.protected abstract intAdvice.StackMapFrameHandler.Default.TranslationMode.copy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Object[] localVariable, Object[] translated) Copies the fixed parameters of the instrumented method onto the operand stack.protected abstract StackManipulationAdvice.OffsetMapping.ForSelfCallHandle.decorate(MethodDescription methodDescription, StackManipulation stackManipulation) Resolves a stack manipulation.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType.doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.private org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodExit.doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Binds this dispatcher for resolution to a specific method.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType.doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Binds this dispatcher for resolution to a specific method.private Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodExit.doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Binds this dispatcher for resolution to a specific method.protected org.objectweb.asm.MethodVisitorAdvice.doWrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, int writerFlags, int readerFlags) Wraps the method visitor to implement this advice.protected abstract JavaConstant.MethodHandleMemberSubstitution.Source.handle(JavaConstant.MethodHandle methodHandle, MethodDescription instrumentedMethod) Resolves a method handle.protected abstract booleanAdvice.StackMapFrameHandler.Default.TranslationMode.isPossibleThisFrameValue(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Object frame) Checks if a variable value in a stack map frame is a legal value for describing athisreference.abstract booleanAdvice.OffsetMapping.Sort.isPremature(MethodDescription methodDescription) Checks if an advice is executed in a premature state, i.e.protected abstract booleanAdvice.OffsetMapping.ForInstrumentedMethod.isRepresentable(MethodDescription instrumentedMethod) Checks if the supplied method is representable for the assigned offset mapping.protected abstract booleanMemberSubstitution.Source.isRepresentable(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort sort, MemberSubstitution.Target target, MethodDescription instrumentedMethod) Validates if the supplied origin sort is representable.MemberSubstitution.Replacement.Factory.Compound.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.ForDynamicInvocation.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.ForElementMatchers.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.NoOp.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Substitution<? super U> MemberSubstitution.Substitution.Chain.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.Chain.Step.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethod.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethodThis.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForAssignment.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForField.Read.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForField.Write.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForInvocation.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.Simple.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution<? super S> MemberSubstitution.Substitution.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForFieldAccess.OfGivenField.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForFieldAccess.OfMatchedField.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfGivenMethod.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForValue.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.Stubbing.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.booleanAsmVisitorWrapper.ForDeclaredMethods.Entry.matches(MethodDescription target) Matches a target against this element matcher.protected static Advice.MethodSizeHandler.ForInstrumentedMethodAdvice.MethodSizeHandler.Default.of(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean copyArguments, int writerFlags) Creates a method size handler applicable for the given instrumented method.protected static Advice.StackMapFrameHandler.ForInstrumentedMethodAdvice.StackMapFrameHandler.Default.of(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean exitAdvice, boolean copyArguments, ClassFileVersion classFileVersion, int writerFlags, int readerFlags) Creates an appropriate stack map frame handler for an instrumented method.protected static MemberSubstitution.Replacement.InvocationTypeMemberSubstitution.Replacement.InvocationType.of(int opcode, MethodDescription methodDescription) Resolves an invocation type.MemberSubstitution.WithoutSpecification.replaceWith(MethodDescription methodDescription) Replaces any interaction with a matched byte code element by an invocation of the specified method.protected ByteCodeAppender.SizeAdvice.Appender.EmulatingMethodVisitor.resolve(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Resolves this this advice emulating method visitor for its delegate.protected abstract Advice.ArgumentHandler.ForInstrumentedMethodAdvice.ArgumentHandler.Factory.resolve(MethodDescription instrumentedMethod, TypeDefinition enterType, TypeDefinition exitType, SortedMap<String, TypeDefinition> namedTypes) Creates an argument handler.Advice.AssignReturned.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.Advice.AssignReturned.ToAllArguments.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToArguments.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToFields.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToReturned.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToThis.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToThrown.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.BootstrapArgumentResolver.ForDefaultValues.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the constants that are provided as arguments to the bootstrap methods.Advice.BootstrapArgumentResolver.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the constants that are provided as arguments to the bootstrap methods.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodExit.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) protected abstract Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.ExceptionHandler.resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType) Resolves a stack manipulation to apply.Advice.ExceptionHandler.Simple.resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType) Resolves a stack manipulation to apply.Advice.OffsetMapping.ForAllArguments.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected abstract ParameterDescriptionAdvice.OffsetMapping.ForArgument.resolve(MethodDescription instrumentedMethod) Resolves the bound parameter.Advice.OffsetMapping.ForArgument.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected ParameterDescriptionAdvice.OffsetMapping.ForArgument.Resolved.resolve(MethodDescription instrumentedMethod) protected ParameterDescriptionAdvice.OffsetMapping.ForArgument.Unresolved.resolve(MethodDescription instrumentedMethod) Advice.OffsetMapping.ForArgument.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForDynamicConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForEnterValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForExitValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected abstract FieldDescriptionAdvice.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the field being bound.Advice.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected FieldDescriptionAdvice.OffsetMapping.ForField.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionAdvice.OffsetMapping.ForField.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected abstract FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the field being bound.Advice.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Advice.OffsetMapping.ForHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForInstrumentedMethod.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForInstrumentedType.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForLocalValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForOrigin.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForReturnValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForSelfCallHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForSerializedValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForStackManipulation.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForStubValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForThisReference.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForThrowable.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForUnusedValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.PostProcessor.Compound.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.Advice.PostProcessor.NoOp.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.Advice.PostProcessor.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.protected abstract StackManipulationMemberSubstitution.Source.resolve(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort sort, MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, MethodDescription instrumentedMethod) Resolves a stack manipulation that loads the supplied sort of origin onto the operand stack.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves this resolver for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves this resolver for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.protected abstract FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a description of the field being accessed.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected abstract FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a description of the field being accessed.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.TypePoolResolver.ForClassFileLocator.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.MemberSubstitution.TypePoolResolver.ForExplicitPool.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.MemberSubstitution.TypePoolResolver.OfImplicitPool.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.MemberSubstitution.TypePoolResolver.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.protected abstract MemberSubstitution.Source.ValueMemberSubstitution.Source.self(TypeList.Generic parameters, Map<Integer, Integer> offsets, MemberSubstitution.Target target, MethodDescription instrumentedMethod) Resolves a value representation of thethisreference ornullif no such reference is available.org.objectweb.asm.MethodVisitorAdvice.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.MethodVisitorAsmVisitorWrapper.ForDeclaredMethods.Entry.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.MethodVisitorAsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.MethodVisitorMemberAttributeExtension.ForMethod.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.MethodVisitorMemberSubstitution.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.Method parameters in net.bytebuddy.asm with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionAsmVisitorWrapper.ForDeclaredMethods.constructor(ElementMatcher<? super MethodDescription> matcher, List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers) Defines a new method visitor wrapper to be applied on any constructor if the given method matcher is matched.AsmVisitorWrapper.ForDeclaredMethods.constructor(ElementMatcher<? super MethodDescription> matcher, AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper... methodVisitorWrapper) Defines a new method visitor wrapper to be applied on any constructor if the given method matcher is matched.MemberSubstitution.constructor(ElementMatcher<? super MethodDescription> matcher) Substitutes any constructor invocation that matches the given matcher.AsmVisitorWrapper.ForDeclaredMethods.invokable(ElementMatcher<? super MethodDescription> matcher, List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers) Defines a new method visitor wrapper to be applied on any method or constructor if the given method matcher is matched.AsmVisitorWrapper.ForDeclaredMethods.invokable(ElementMatcher<? super MethodDescription> matcher, AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper... methodVisitorWrapper) Defines a new method visitor wrapper to be applied on any method or constructor if the given method matcher is matched.MemberSubstitution.invokable(ElementMatcher<? super MethodDescription> matcher) Substitutes any method or constructor invocation that matches the given matcher.AsmVisitorWrapper.ForDeclaredMethods.method(ElementMatcher<? super MethodDescription> matcher, List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers) Defines a new method visitor wrapper to be applied on any method if the given method matcher is matched.AsmVisitorWrapper.ForDeclaredMethods.method(ElementMatcher<? super MethodDescription> matcher, AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper... methodVisitorWrapper) Defines a new method visitor wrapper to be applied on any method if the given method matcher is matched.MemberSubstitution.method(ElementMatcher<? super MethodDescription> matcher) Substitutes any method invocation that matches the given matcher.protected static MemberSubstitution.Replacement.FactoryMemberSubstitution.Replacement.ForElementMatchers.Factory.ofMethod(ElementMatcher<? super MethodDescription> matcher, boolean includeVirtualCalls, boolean includeSuperCalls, MemberSubstitution.Substitution.Factory<? super MemberSubstitution.Target.ForMember> factory) Creates a factory that only matches method and constructor invocations for given invocation types.Advice.on(ElementMatcher<? super MethodDescription> matcher) Returns an ASM visitor wrapper that matches the given matcher and applies this advice to the matched methods.MemberAttributeExtension.ForMethod.on(ElementMatcher<? super MethodDescription> matcher) Applies this attribute extension on any method or constructor that matches the supplied matcher.MemberSubstitution.on(ElementMatcher<? super MethodDescription> matcher) Applies this member substitution to any method that matches the supplied matcher.AnnotationRemoval.onConstructorParameter(ElementMatcher<? super MethodDescription> matcher, int parameter) Creates a visitor that removes annotations from the constructor parameters with the given index where the constructor matches the specified matcher.AnnotationRemoval.onConstructorParameters(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from constructor parameters where the constructor matches the specified matcher.AnnotationRemoval.onConstructors(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from constructors that match the specified matcher.AnnotationRemoval.onConstructorsAndParameters(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from constructors and their parameters that match the specified matcher.AnnotationRemoval.onInvokableParameter(ElementMatcher<? super MethodDescription> matcher, int parameter) Creates a visitor that removes annotations from the constructor or method parameters with the given index where the constructor or method matches the specified matcher.AnnotationRemoval.onInvokableParameters(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from constructor or method parameters where the constructor or method matches the specified matcher.AnnotationRemoval.onInvokables(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from constructors or methods that match the specified matcher.AnnotationRemoval.onInvokablesAndParameters(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from constructors or methods and their parameters that match the specified matcher.AnnotationRemoval.onMethodParameter(ElementMatcher<? super MethodDescription> matcher, int parameter) Creates a visitor that removes annotations from the method parameters with the given index where the method matches the specified matcher.AnnotationRemoval.onMethodParameters(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from method parameters where the method matches the specified matcher.AnnotationRemoval.onMethods(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from methods that match the specified matcher.AnnotationRemoval.onMethodsAndParameters(ElementMatcher<? super MethodDescription> matcher) Creates a visitor that removes annotations from methods and their parameters that match the specified matcher.MemberSubstitution.WithoutSpecification.replaceWithMethod(ElementMatcher<? super MethodDescription> matcher) Replaces any interaction with a matched byte code element with a non-static method access on the first parameter of the matched element.MemberSubstitution.WithoutSpecification.replaceWithMethod(ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler) Replaces any interaction with a matched byte code element with a non-static method access on the first parameter of the matched element.MemberRemoval.stripConstructors(ElementMatcher<? super MethodDescription> matcher) Specifies that any constructor that matches the specified matcher should be removed.MemberRemoval.stripInvokables(ElementMatcher<? super MethodDescription> matcher) Specifies that any method or constructor that matches the specified matcher should be removed.MemberRemoval.stripMethods(ElementMatcher<? super MethodDescription> matcher) Specifies that any method that matches the specified matcher should be removed.ModifierAdjustment.withConstructorModifiers(ElementMatcher<? super MethodDescription> matcher, List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts a constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withConstructorModifiers(ElementMatcher<? super MethodDescription> matcher, ModifierContributor.ForMethod... modifierContributor) Adjusts a constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withInvokableModifiers(ElementMatcher<? super MethodDescription> matcher, List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts a method's or constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withInvokableModifiers(ElementMatcher<? super MethodDescription> matcher, ModifierContributor.ForMethod... modifierContributor) Adjusts a method's or constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withMethodModifiers(ElementMatcher<? super MethodDescription> matcher, List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts a method's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withMethodModifiers(ElementMatcher<? super MethodDescription> matcher, ModifierContributor.ForMethod... modifierContributor) Adjusts a method's modifiers if it fulfills the supplied matcher.Constructors in net.bytebuddy.asm with parameters of type MethodDescriptionModifierConstructorDescriptionprotectedAdviceMethodInliner(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, AsmClassReader classReader) Creates a new advice method inliner.protectedAdviceMethodWriter(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protectedAdviceVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags) Creates a new advice visitor.privateAttributeAppendingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, MethodAttributeAppender methodAttributeAppender, AnnotationValueFilter annotationValueFilter) protectedBound(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation) Creates a new bound relocation handler.protectedBound(MethodDescription instrumentedMethod, Advice.Dispatcher.RelocationHandler.Relocation relocation, int index, boolean inverted) Creates a new bound relocation handler.protectedBound(MemberSubstitution.Source source, MethodDescription instrumentedMethod) Creates an offset mapping for a bound version of a self call handle.protectedCodeTranslationVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, MethodDescription.InDefinedShape adviceMethod, Map<Integer, Advice.OffsetMapping.Target> offsetMappings, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.PostProcessor postProcessor, boolean exit) Creates a new code translation visitor.protectedCopying(MethodDescription instrumentedMethod, TypeDefinition exitType, SortedMap<String, TypeDefinition> namedTypes, TypeDefinition enterType) Creates a new copying argument handler for an instrumented method.protectedDefault(MethodDescription instrumentedMethod, MethodDescription.TypeToken typeToken, TypeDefinition exitType, SortedMap<String, TypeDefinition> namedTypes) Creates a new argument handler for an enter advice.protectedDefault(MethodDescription instrumentedMethod, TypeDefinition exitType, SortedMap<String, TypeDefinition> namedTypes, TypeDefinition enterType) Creates a new default argument handler for an instrumented method.protectedDefault(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes) Creates a new default meta data handler that recomputes the space requirements of an instrumented method.protectedDefault(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames) Creates a new default stack map frame handler.Factory(MethodDescription methodDescription) Creates a factory for a method invocation without parameter substitutions.Factory(MethodDescription methodDescription, Map<Integer, Integer> substitutions) Creates a factory for a method invocation.protectedForInvocation(MethodDescription methodDescription, Map<Integer, Integer> substitutions, Assigner assigner, Assigner.Typing typing) Creates a new step of an invocation.protectedForMethodEnter(MethodDescription instrumentedMethod, MethodDescription.TypeToken typeToken, TypeDefinition exitType, SortedMap<String, TypeDefinition> namedTypes) Creates a new argument handler for an enter advice method.protectedForMethodEnter(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protectedForMethodExit(MethodDescription instrumentedMethod, MethodDescription.TypeToken typeToken, TypeDefinition exitType, SortedMap<String, TypeDefinition> namedTypes, TypeDefinition enterType, StackSize throwableSize) Creates a new argument handler for an exit advice method.protectedForMethodExit(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protectedForRegularInvocation(MethodDescription delegate) Creates a dispatcher for a regular method invocation.OfGivenMethod(MethodDescription methodDescription) Creates a new factory for a substitution that invokes a given method.protectedResolved(MethodDescription.InDefinedShape delegate, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a resolved version of a bootstrap argument resolver.protectedResolved(TypeDescription.Generic targetComponentType, Assigner.Typing typing, MemberSubstitution.Source source, boolean includeSelf, boolean nullIfEmpty, Assigner assigner, MethodDescription instrumentedMethod) Creates a resolved version for an offset mapping of all arguments.protectedResolved(TypeDescription.Generic targetType, int index, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional, Assigner assigner, MethodDescription instrumentedMethod) Creates a resolved offset mapping for assigning a parameter.protectedResolved(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort sort, MemberSubstitution.Source source, MethodDescription instrumentedMethod) Creates a resolved version of an offset mapping for describing the substituted expression or instrumented method.protectedResolved(MemberSubstitution.Source source, MethodDescription instrumentedMethod) Creates a resolved version of an offset mapping for a stub value.protectedResolved(TypeDescription.Generic targetType, Assigner.Typing typing, MemberSubstitution.Source source, boolean optional, Assigner assigner, MethodDescription instrumentedMethod) Creates a resolved offset mapping for assigning thethisreference.protectedSimple(MethodDescription instrumentedMethod, TypeDefinition exitType, SortedMap<String, TypeDefinition> namedTypes, TypeDefinition enterType) Creates a new simple argument handler for an instrumented method.Simple(MethodDescription methodDescription) Creates a new simple method resolver.protectedSubstitutingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodGraph.Compiler methodGraphCompiler, boolean strict, boolean failIfNoMatch, MemberSubstitution.Replacement replacement, Implementation.Context implementationContext, TypePool typePool, boolean virtualPrivateCalls) Creates a new substituting method visitor.protectedTrivial(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> latentTypes, boolean expandFrames) Creates a new stack map frame handler that applies a trivial translation for the instrumented method's stack map frames.protectedUnbound(MemberSubstitution.Source source, MethodDescription instrumentedMethod) Creates an offset mapping for an unbound version of a self call handle.protectedWithArgumentCopy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames) Creates a new stack map frame handler that expects an argument copy.protectedWithCopiedArguments(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes) Creates a new default method size handler that expects the original arguments to be copied.protectedWithExceptionHandling(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, int writerFlags, int readerFlags, TypeDescription throwable) Creates a new advice visitor that captures exception by weaving try-catch blocks around user code.protectedWithExitAdvice(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags) Creates an advice visitor that applies exit advice.protectedWithoutArgumentCopy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames, boolean allowCompactCompletionFrame) Creates a new stack map frame handler that expects the original frames to be preserved.protectedWithoutExceptionHandling(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, int writerFlags, int readerFlags) Creates a new advice visitor that does not capture exceptions.protectedWithoutExitAdvice(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, int writerFlags, int readerFlags) Creates an advice visitor that does not apply exit advice.protectedWithPreservedArguments(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames, boolean allowCompactCompletionFrame) Creates a new stack map frame handler that requires the stack map frames of the original arguments to be preserved.protectedWithRetainedArguments(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes) Creates a new default method size handler that expects that the original arguments are retained.Constructor parameters in net.bytebuddy.asm with type arguments of type MethodDescriptionModifierConstructorDescriptionprotectedDispatchingVisitor(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, Implementation.Context implementationContext, TypePool typePool, Map<String, MethodDescription> methods, int writerFlags, int readerFlags) Creates a new dispatching visitor.protectedEntry(ElementMatcher<? super MethodDescription> matcher, List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers) Creates a new entry.protectedForMatchedMethod(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, boolean failIfNoMatch, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super MethodDescription> matcher) Creates a new member substitution for a matched method that requires a specification for how to perform a substitution.protectedForMatchedMethod(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, boolean failIfNoMatch, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super MethodDescription> matcher, boolean includeVirtualCalls, boolean includeSuperCalls) Creates a new member substitution for a matched method that requires a specification for how to perform a substitution.Matching(TypeDescription instrumentedType, MethodGraph.Compiler methodGraphCompiler, ElementMatcher<? super MethodDescription> matcher) Creates a new matching method resolver.OfMatchedMethod(ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler) Creates a factory for a substitution that locates a method on the receiver type. -
Uses of MethodDescription in net.bytebuddy.build
Methods in net.bytebuddy.build with parameters of type MethodDescriptionModifier and TypeMethodDescriptionAccessControllerPlugin.Initializer.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.CachedReturnPlugin.AdviceResolver.ExitAdviceByteCodeAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.voidDispatcherAnnotationPlugin.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.voidHashCodeAndEqualsPlugin.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.voidSafeVarargsPlugin.SafeVarargsAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.CachedReturnPlugin.CacheFieldOffsetMapping.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.org.objectweb.asm.MethodVisitorAccessControllerPlugin.AccessControlWrapper.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor. -
Uses of MethodDescription in net.bytebuddy.description.method
Classes in net.bytebuddy.description.method with type parameters of type MethodDescriptionModifier and TypeInterfaceDescriptioninterfaceMethodList<T extends MethodDescription>Implementations represent a list of method descriptions.static classMethodList.AbstractBase<S extends MethodDescription>A base implementation of aMethodList.static classMethodList.Empty<S extends MethodDescription>An implementation of an empty method list.static classMethodList.Explicit<S extends MethodDescription>A method list that is a wrapper for a given list of method descriptions.Subinterfaces of MethodDescription in net.bytebuddy.description.methodModifier and TypeInterfaceDescriptionstatic interfaceRepresents a method in its defined shape, i.e.static interfaceRepresents a method description in its generic shape, i.e.Classes in net.bytebuddy.description.method that implement MethodDescriptionModifier and TypeClassDescriptionstatic classAn abstract base implementation of a method description.static classAn implementation of a method description for a loaded constructor.static classAn implementation of a method description for a loaded method.static classAn abstract base implementation of a method description in its defined shape.protected static classA base implementation for a loaded instance representation for ajava.lang.reflect.Executable.static classA latent method description describes a method that is not attached to a declaringTypeDescription.static classA method description that represents the type initializer.static classA method description that represents a given method but with substituted method types.Fields in net.bytebuddy.description.method declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionMethodDescription.TypeSubstituting.methodDescriptionThe represented method description.Fields in net.bytebuddy.description.method with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprotected final List<? extends MethodDescription> MethodList.TypeSubstituting.methodDescriptionsThe list of method descriptions to represent.Methods in net.bytebuddy.description.method that return MethodDescriptionModifier and TypeMethodDescriptionParameterDescription.getDeclaringMethod()Returns the method that declares this parameter.Constructors in net.bytebuddy.description.method with parameters of type MethodDescriptionModifierConstructorDescriptionCreates a new wrapper for a given list of methods.TypeSubstituting(TypeDescription.Generic declaringType, MethodDescription methodDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a method description with substituted method types.Constructor parameters in net.bytebuddy.description.method with type arguments of type MethodDescriptionModifierConstructorDescriptionTypeSubstituting(TypeDescription.Generic declaringType, List<? extends MethodDescription> methodDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting method list. -
Uses of MethodDescription in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return MethodDescriptionModifier and TypeMethodDescriptionRecordComponentDescription.getAccessor()Returns the accessor for this record component.Methods in net.bytebuddy.description.type with parameters of type MethodDescriptionModifier and TypeMethodDescriptionstatic TypeList.GenericTypeList.Generic.ForDetachedTypes.attach(MethodDescription methodDescription, List<? extends TypeDescription.Generic> detachedTypes) Creates a list of types that are attached to the provided method.static TypeList.GenericTypeList.Generic.ForDetachedTypes.attachVariables(MethodDescription methodDescription, List<? extends TypeVariableToken> detachedTypeVariables) Creates a list of type variables that are attached to the provided method.TypeDescription.Generic.Visitor.Substitutor.ForAttachment.of(MethodDescription methodDescription) Attaches all types to the given method description. -
Uses of MethodDescription in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement MethodDescriptionModifier and TypeClassDescriptionprotected static classThe transformed method.Classes in net.bytebuddy.dynamic that implement interfaces with type arguments of type MethodDescriptionModifier and TypeClassDescriptionstatic classA transformer for a field that delegates to another transformer that transforms aMethodDescription.Token.Fields in net.bytebuddy.dynamic with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprotected final LatentMatcher<? super MethodDescription> DynamicType.Builder.AbstractBase.Adapter.ignoredMethodsA matcher for identifying methods that should be excluded from instrumentation.private final LatentMatcher<? super MethodDescription> DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.matcherThe method matcher of this adapter.protected final Transformer<MethodDescription> DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.transformerThe transformer to apply onto the method that is currently being implemented.Methods in net.bytebuddy.dynamic that return MethodDescriptionModifier and TypeMethodDescriptionTransformer.ForMethod.TransformedMethod.TransformedParameter.getDeclaringMethod()Returns the method that declares this parameter.Transformer.ForMethod.transform(TypeDescription instrumentedType, MethodDescription methodDescription) Transforms the supplied target.Methods in net.bytebuddy.dynamic that return types with arguments of type MethodDescriptionModifier and TypeMethodDescriptionstatic Transformer<MethodDescription> Transformer.ForMethod.withModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors) Creates a transformer that enforces the supplied modifier contributors.static Transformer<MethodDescription> Transformer.ForMethod.withModifiers(ModifierContributor.ForMethod... modifierContributor) Creates a transformer that enforces the supplied modifier contributors.Methods in net.bytebuddy.dynamic with parameters of type MethodDescriptionModifier and TypeMethodDescriptionNexusAccessor.InitializationAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.DynamicType.Builder.AbstractBase.define(MethodDescription methodDescription) Defines a method or constructor that is similar to the supplied method description but without copying any annotations of the method/constructor or method/constructor parameters.DynamicType.Builder.define(MethodDescription methodDescription) Defines a method or constructor that is similar to the supplied method description but without copying any annotations of the method/constructor or method/constructor parameters.booleanVisibilityBridgeStrategy.generateVisibilityBridge(MethodDescription methodDescription) Determines if a visibility bridge should be generated for a method that is eligable.Transformer.ForMethod.transform(TypeDescription instrumentedType, MethodDescription methodDescription) Transforms the supplied target.Method parameters in net.bytebuddy.dynamic with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.constructor(ElementMatcher<? super MethodDescription> matcher) Matches a constructor that is already declared by the instrumented type.DynamicType.Builder.constructor(ElementMatcher<? super MethodDescription> matcher) Matches a constructor that is already declared by the instrumented type.DynamicType.Builder.AbstractBase.Adapter.ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.AbstractBase.Delegator.ignoreAlso(ElementMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.AbstractBase.Delegator.ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.AbstractBase.ignoreAlso(ElementMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.ignoreAlso(ElementMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.AbstractBase.Adapter.invokable(LatentMatcher<? super MethodDescription> matcher) Matches a method or constructor that is already declared or inherited by the instrumented type.DynamicType.Builder.AbstractBase.Delegator.invokable(LatentMatcher<? super MethodDescription> matcher) Matches a method or constructor that is already declared or inherited by the instrumented type.DynamicType.Builder.AbstractBase.invokable(ElementMatcher<? super MethodDescription> matcher) Matches a method or constructor that is already declared or inherited by the instrumented type.DynamicType.Builder.invokable(ElementMatcher<? super MethodDescription> matcher) Matches a method or constructor that is already declared or inherited by the instrumented type.DynamicType.Builder.invokable(LatentMatcher<? super MethodDescription> matcher) Matches a method or constructor that is already declared or inherited by the instrumented type.protected abstract DynamicType.Builder<U> DynamicType.Builder.AbstractBase.Adapter.materialize(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Materializes the supplied state of a dynamic type builder.protected DynamicType.Builder.MethodDefinition<U> DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.materialize(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) protected DynamicType.Builder.MethodDefinition<U> DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.materialize(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) protected abstract DynamicType.Builder.MethodDefinition<V> DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.materialize(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Materializes the current builder as a method definition.DynamicType.Builder.AbstractBase.method(ElementMatcher<? super MethodDescription> matcher) Matches a method that is already declared or inherited by the instrumented type.DynamicType.Builder.method(ElementMatcher<? super MethodDescription> matcher) Matches a method that is already declared or inherited by the instrumented type.DynamicType.Builder.MethodDefinition.AbstractBase.Adapter.transform(Transformer<MethodDescription> transformer) Applies the supplied transformer onto the previously defined or matched method.DynamicType.Builder.MethodDefinition.transform(Transformer<MethodDescription> transformer) Applies the supplied transformer onto the previously defined or matched method.Constructor parameters in net.bytebuddy.dynamic with type arguments of type MethodDescriptionModifierConstructorDescriptionprotectedAdapter(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Creates a new default type writer for creating a new type that is not based on an existing class file.protectedAdapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new adapter for a method definition.protectedAnnotationAdapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new annotation adapter.protectedAnnotationAdapter(MethodRegistry.Handler handler, MethodAttributeAppender.Factory methodAttributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new annotation adapter.protectedMethodMatchAdapter(LatentMatcher<? super MethodDescription> matcher) Creates a new method match adapter. -
Uses of MethodDescription in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement MethodDescriptionModifier and TypeClassDescriptionprotected static classA method representing an accessor bridge method.protected static classA method representing a bridge's target method in its defined shape.protected static classA method describing a visibility bridge.Classes in net.bytebuddy.dynamic.scaffold that implement interfaces with type arguments of type MethodDescriptionModifier and TypeClassDescriptionprotected static classAn entry of a default method registry.Fields in net.bytebuddy.dynamic.scaffold declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.bridgeTargetThe target method of the bridge.private final MethodDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.bridgeTargetThe target of the bridge method.private final MethodDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.bridgeTargetThe target method of the bridge.private final MethodDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.bridgeTargetThe method the visibility bridge invokes.private final MethodDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.bridgeTargetThe method that is the target of the bridge.private final MethodDescriptionMethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.Node.methodDescriptionThe representative method of this node.private final MethodDescriptionMethodGraph.Compiler.Default.Key.Store.Entry.Resolved.methodDescriptionThe non-ambiguous, representative method of this entry.private final MethodDescriptionMethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node.methodDescriptionThe representative method of this node.private final MethodDescriptionMethodGraph.Node.Simple.methodDescriptionThe represented method.private final MethodDescriptionMethodRegistry.Default.Compiled.Entry.methodDescriptionThe method to be implemented including potential transformations.private final MethodDescriptionMethodRegistry.Default.Prepared.Entry.methodDescriptionThe method this entry represents.private final MethodDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue.methodDescriptionThe implemented method.private final MethodDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.WithBody.methodDescriptionThe implemented method.private final MethodDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.WithoutBody.methodDescriptionThe implemented method.private final MethodDescriptionTypeWriter.MethodPool.Record.ForNonImplementedMethod.methodDescriptionThe undefined method.private final MethodDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.visibilityBridgeThe visibility bridge.Fields in net.bytebuddy.dynamic.scaffold with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprivate final LinkedHashMap<TypeWriter.Default.SignatureKey, MethodDescription> TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.declarableMethodsA mapping of methods to write by their unique signature.private final LinkedHashMap<MethodDescription, MethodRegistry.Default.Compiled.Entry> MethodRegistry.Default.Compiled.implementationsA map of all method descriptions mapped to their handling entries.private final LinkedHashMap<MethodDescription, MethodRegistry.Default.Prepared.Entry> MethodRegistry.Default.Prepared.implementationsA map of all method descriptions mapped to their handling entries.private final ElementMatcher<? super MethodDescription> MethodGraph.Compiler.Default.matcherA matcher to filter methods from the graph.private final LatentMatcher<? super MethodDescription> MethodRegistry.Default.Entry.matcherThe latent method matcher that this entry represents.private final LinkedHashSet<MethodDescription> MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.methodDescriptionsA set of ambiguous methods that this entry represents.private final Transformer<MethodDescription> MethodRegistry.Default.Entry.transformerThe method transformer to be applied to implemented methods.Methods in net.bytebuddy.dynamic.scaffold that return MethodDescriptionModifier and TypeMethodDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.TypeWriter.MethodPool.Record.ForDefinedMethod.WithAnnotationDefaultValue.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.TypeWriter.MethodPool.Record.ForDefinedMethod.WithBody.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.TypeWriter.MethodPool.Record.ForDefinedMethod.WithoutBody.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.TypeWriter.MethodPool.Record.ForNonImplementedMethod.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.TypeWriter.MethodPool.Record.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.protected MethodDescriptionMethodRegistry.Default.Prepared.Entry.getMethodDescription()Returns the method description this entry represents.MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.Node.getRepresentative()Returns the method that is represented by this node.MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node.getRepresentative()Returns the method that is represented by this node.MethodGraph.Node.getRepresentative()Returns the method that is represented by this node.MethodGraph.Node.Simple.getRepresentative()Returns the method that is represented by this node.MethodGraph.Node.Unresolved.getRepresentative()Returns the method that is represented by this node.MethodGraph.Compiler.Default.Merger.Directional.merge(MethodDescription left, MethodDescription right) Merges two ambiguously resolved methods to yield a single representative.MethodGraph.Compiler.Default.Merger.merge(MethodDescription left, MethodDescription right) Merges two ambiguously resolved methods to yield a single representative.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type MethodDescriptionModifier and TypeMethodDescriptionMethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.getCandidates()Returns all candidate methods represented by this entry.MethodGraph.Compiler.Default.Key.Store.Entry.getCandidates()Returns all candidate methods represented by this entry.MethodGraph.Compiler.Default.Key.Store.Entry.Initial.getCandidates()Returns all candidate methods represented by this entry.MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.getCandidates()Returns all candidate methods represented by this entry.ElementMatcher<? super MethodDescription> MethodRegistry.Default.Entry.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescriptionModifier and TypeMethodDescriptionTypeInitializer.None.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.TypeInitializer.Simple.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.protected MethodRegistry.Default.Prepared.EntryMethodRegistry.Default.Entry.asPreparedEntry(TypeDescription instrumentedType, MethodDescription methodDescription, Set<MethodDescription.TypeToken> methodTypes, Visibility visibility) Transforms this entry into a prepared state.protected MethodRegistry.Default.Prepared.EntryMethodRegistry.Default.Entry.asPreparedEntry(TypeDescription instrumentedType, MethodDescription methodDescription, Visibility visibility) Transforms this entry into a prepared state.MethodRegistry.Handler.Compiled.assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility) Assembles this compiled entry with a method attribute appender.MethodRegistry.Handler.ForAbstractMethod.assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility) Assembles this compiled entry with a method attribute appender.MethodRegistry.Handler.ForAnnotationValue.assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility) Assembles this compiled entry with a method attribute appender.MethodRegistry.Handler.ForImplementation.Compiled.assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility) Assembles this compiled entry with a method attribute appender.MethodRegistry.Handler.ForVisibilityBridge.Compiled.assemble(MethodDescription methodDescription, MethodAttributeAppender attributeAppender, Visibility visibility) Assembles this compiled entry with a method attribute appender.protected MethodRegistry.Default.Prepared.EntryMethodRegistry.Default.Entry.asSupplementaryEntry(MethodDescription methodDescription) Returns a prepared entry for a supplementary method.MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.extendBy(MethodDescription methodDescription, MethodGraph.Compiler.Default.Harmonizer<U> harmonizer) Extends this entry by the given method.MethodGraph.Compiler.Default.Key.Store.Entry.extendBy(MethodDescription methodDescription, MethodGraph.Compiler.Default.Harmonizer<W> harmonizer) Extends this entry by the given method.MethodGraph.Compiler.Default.Key.Store.Entry.Initial.extendBy(MethodDescription methodDescription, MethodGraph.Compiler.Default.Harmonizer<U> harmonizer) Extends this entry by the given method.MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.extendBy(MethodDescription methodDescription, MethodGraph.Compiler.Default.Harmonizer<U> harmonizer) Extends this entry by the given method.protected static MethodRegistry.Default.Prepared.EntryMethodRegistry.Default.Prepared.Entry.forVisibilityBridge(MethodDescription bridgeTarget, Visibility visibility) Creates an entry for a visibility bridge.MethodGraph.Compiler.Default.Merger.Directional.merge(MethodDescription left, MethodDescription right) Merges two ambiguously resolved methods to yield a single representative.MethodGraph.Compiler.Default.Merger.merge(MethodDescription left, MethodDescription right) Merges two ambiguously resolved methods to yield a single representative.protected static <Q> MethodGraph.Compiler.Default.Key.Harmonized<Q> MethodGraph.Compiler.Default.Key.Harmonized.of(MethodDescription methodDescription, MethodGraph.Compiler.Default.Harmonizer<Q> harmonizer) Creates a new harmonized key for the given method description.protected static <Q> MethodGraph.Compiler.Default.Key.Store.Entry<Q> MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.of(MethodGraph.Compiler.Default.Key.Harmonized<Q> key, MethodDescription left, MethodDescription right, Visibility visibility) Creates a new ambiguous entry if both provided entries are not considered to be a bridge of one another.private static <V> MethodGraph.Compiler.Default.Key.Store.Entry<V> MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.of(MethodGraph.Compiler.Default.Key.Harmonized<V> key, MethodDescription override, MethodDescription original, Visibility visibility) Creates an entry for an override where a method overrides another method within a super class.static TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.AccessBridgeWrapper.of(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender) Wraps the given record in an accessor bridge wrapper if necessary.static TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.of(TypeDescription instrumentedType, MethodDescription bridgeTarget, MethodAttributeAppender attributeAppender) Creates a record for a visibility bridge.static FieldLocator.ResolutionFieldLocator.Resolution.Simple.ofBeanAccessor(FieldLocator fieldLocator, MethodDescription methodDescription) Resolves a field locator for a potential accessor method.protected org.objectweb.asm.MethodVisitorTypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.redefine(MethodDescription methodDescription, boolean abstractOrigin, int modifiers, String genericSignature) Redefines a given method if this is required by looking up a potential implementation from theTypeWriter.MethodPool.MethodRegistry.Default.Compiled.target(MethodDescription methodDescription) Looks up a handler entry for a given method.TypeWriter.MethodPool.target(MethodDescription methodDescription) Looks up a handler entry for a given method.Method parameters in net.bytebuddy.dynamic.scaffold with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionprotected MethodGraph.Compiler.Default.Key.Store<T> MethodGraph.Compiler.Default.analyze(TypeDefinition typeDefinition, TypeDefinition key, Map<TypeDefinition, MethodGraph.Compiler.Default.Key.Store<T>> snapshots, ElementMatcher<? super MethodDescription> relevanceMatcher) Analyzes the given type description without checking if the end of the type hierarchy was reached.protected MethodGraph.Compiler.Default.Key.Store<T> MethodGraph.Compiler.Default.analyzeNullable(TypeDescription.Generic typeDescription, Map<TypeDefinition, MethodGraph.Compiler.Default.Key.Store<T>> snapshots, ElementMatcher<? super MethodDescription> relevanceMatcher) Analyzes the given type description.MethodRegistry.append(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.MethodRegistry.append(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.MethodRegistry.Default.append(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.MethodRegistry.Default.append(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Appends the given method definition to this method registry, i.e.protected MethodGraph.Compiler.Default.Key.Store<T> MethodGraph.Compiler.Default.doAnalyze(TypeDefinition typeDefinition, Map<TypeDefinition, MethodGraph.Compiler.Default.Key.Store<T>> snapshots, ElementMatcher<? super MethodDescription> relevanceMatcher) Analyzes the given type description without checking if it is already presented in the key store.static <S> MethodGraph.CompilerMethodGraph.Compiler.Default.of(MethodGraph.Compiler.Default.Harmonizer<S> harmonizer, MethodGraph.Compiler.Default.Merger merger, ElementMatcher<? super MethodDescription> matcher) Creates a default compiler using the given harmonizer and merger.static MethodGraphMethodGraph.Simple.of(List<? extends MethodDescription> methodDescriptions) Returns a method graph that contains all of the provided methods as simple nodes.MethodRegistry.Default.prepare(InstrumentedType instrumentedType, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, LatentMatcher<? super MethodDescription> ignoredMethods) Prepares this method registry.MethodRegistry.prepare(InstrumentedType instrumentedType, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, LatentMatcher<? super MethodDescription> ignoredMethods) Prepares this method registry.MethodRegistry.Default.prepend(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.MethodRegistry.Default.prepend(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.MethodRegistry.prepend(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.MethodRegistry.prepend(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Prepends the given method definition to this method registry, i.e.protected MethodGraph.Compiler.Default.Key.Store<V> MethodGraph.Compiler.Default.Key.Store.registerTopLevel(List<? extends MethodDescription> methodDescriptions, MethodGraph.Compiler.Default.Harmonizer<V> harmonizer) Registers a new top level method within this store.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescriptionModifierConstructorDescriptionprotectedAccessBridgeWrapper(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender) Creates a wrapper for adding accessor bridges.protectedAccessorBridge(MethodDescription bridgeTarget, MethodDescription.TypeToken bridgeType, TypeDescription instrumentedType) Creates a new accessor bridge method.protectedBridgeTarget(MethodDescription bridgeTarget, TypeDescription instrumentedType) Creates a new bridge target.protectedEntry(MethodRegistry.Handler.Compiled handler, MethodAttributeAppender attributeAppender, MethodDescription methodDescription, Set<MethodDescription.TypeToken> bridgeTypes, Visibility visibility, boolean bridgeMethod) Creates a new entry for a compiled method registry.protectedEntry(MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, MethodDescription methodDescription, Set<MethodDescription.TypeToken> typeTokens, Visibility visibility, boolean bridgeMethod) Creates a new prepared entry.ForNonImplementedMethod(MethodDescription methodDescription) Creates a new undefined record.protectedNode(MethodGraph.Compiler.Default.Key.Detached key, MethodDescription methodDescription, Visibility visibility) protectedNode(MethodGraph.Compiler.Default.Key.Detached key, MethodDescription methodDescription, Visibility visibility, boolean visible) Creates a new node.protectedOfVisibilityBridge(MethodDescription visibilityBridge, MethodDescription bridgeTarget, TypeDescription bridgeType, MethodAttributeAppender attributeAppender) Creates a new record for a visibility bridge.protectedResolved(MethodGraph.Compiler.Default.Key.Harmonized<U> key, MethodDescription methodDescription, Visibility visibility) Creates a new resolved entry that is not made visible.protectedResolved(MethodGraph.Compiler.Default.Key.Harmonized<U> key, MethodDescription methodDescription, Visibility visibility, boolean madeVisible) Creates a new resolved entry.Simple(MethodDescription methodDescription) Creates a simple node.protectedVisibilityBridge(TypeDescription instrumentedType, MethodDescription bridgeTarget) Creates a new visibility bridge.WithAnnotationDefaultValue(MethodDescription methodDescription, AnnotationValue<?, ?> annotationValue, MethodAttributeAppender methodAttributeAppender) Creates a new entry for defining a method with a default annotation value.WithBody(MethodDescription methodDescription, ByteCodeAppender byteCodeAppender) Creates a new record for an implemented method without attributes or a modifier resolver.WithBody(MethodDescription methodDescription, ByteCodeAppender byteCodeAppender, MethodAttributeAppender methodAttributeAppender, Visibility visibility) Creates a new entry for a method that defines a method as byte code.WithoutBody(MethodDescription methodDescription, MethodAttributeAppender methodAttributeAppender, Visibility visibility) Creates a new entry for a method that is defines but does not append byte code, i.e.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type MethodDescriptionModifierConstructorDescriptionprotectedAmbiguous(MethodGraph.Compiler.Default.Key.Harmonized<U> key, LinkedHashSet<MethodDescription> methodDescriptions, Visibility visibility) Creates a new ambiguous entry.protectedCompiled(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, MethodList<?> methods, LinkedHashMap<MethodDescription, MethodRegistry.Default.Compiled.Entry> implementations, boolean supportsBridges) Creates a new compiled version of a default method registry.Default(MethodGraph.Compiler.Default.Harmonizer<T> harmonizer, MethodGraph.Compiler.Default.Merger merger, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor, ElementMatcher<? super MethodDescription> matcher) Creates a new default method graph compiler.protectedEntry(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new entry.protectedEntry(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new entry.protectedPrepared(LinkedHashMap<MethodDescription, MethodRegistry.Default.Prepared.Entry> implementations, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeDescription instrumentedType, MethodGraph.Linked methodGraph, MethodList<?> methods) Creates a prepared version of a default method registry. -
Uses of MethodDescription in net.bytebuddy.dynamic.scaffold.inline
Classes in net.bytebuddy.dynamic.scaffold.inline that implement MethodDescriptionModifier and TypeClassDescriptionprotected static classAn description of a rebased constructor.protected static classA description of a rebased method.Classes in net.bytebuddy.dynamic.scaffold.inline that implement interfaces with type arguments of type MethodDescriptionModifier and TypeClassDescriptionclassA latent method matcher that identifies methods to instrument when redefining or rebasing a type.Fields in net.bytebuddy.dynamic.scaffold.inline with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprivate final LatentMatcher<? super MethodDescription> DecoratingDynamicTypeBuilder.ignoredMethodsA matcher for identifying methods that should be excluded from instrumentation.private final LatentMatcher<? super MethodDescription> InliningImplementationMatcher.ignoredMethodsA method matcher that matches any ignored method.private final ElementMatcher<? super MethodDescription> InliningImplementationMatcher.predefinedMethodSignaturesA method matcher that matches any predefined method.Methods in net.bytebuddy.dynamic.scaffold.inline that return MethodDescriptionModifier and TypeMethodDescriptionRebaseImplementationTarget.RebasedMethodInvocation.getMethodDescription()Returns the method that represents this special method invocation.Methods in net.bytebuddy.dynamic.scaffold.inline that return types with arguments of type MethodDescriptionModifier and TypeMethodDescriptionprotected static LatentMatcher<MethodDescription> InliningImplementationMatcher.of(LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType) Creates a matcher where only overridable or declared methods are matched unless those are ignored.ElementMatcher<? super MethodDescription> InliningImplementationMatcher.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type MethodDescriptionModifier and TypeMethodDescriptionMethodNameTransformer.Prefixing.transform(MethodDescription methodDescription) Transforms a method's name to an alternative name.MethodNameTransformer.Suffixing.transform(MethodDescription methodDescription) Transforms a method's name to an alternative name.MethodNameTransformer.transform(MethodDescription methodDescription) Transforms a method's name to an alternative name.Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DecoratingDynamicTypeBuilder.invokable(LatentMatcher<? super MethodDescription> matcher) Matches a method or constructor that is already declared or inherited by the instrumented type.protected DynamicType.Builder<T> RebaseDynamicTypeBuilder.materialize(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) protected DynamicType.Builder<T> RedefinitionDynamicTypeBuilder.materialize(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) protected static LatentMatcher<MethodDescription> InliningImplementationMatcher.of(LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType) Creates a matcher where only overridable or declared methods are matched unless those are ignored.Constructor parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type MethodDescriptionModifierConstructorDescriptionprotectedAbstractInliningDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator) Creates an inlining dynamic type builder.DecoratingDynamicTypeBuilder(TypeDescription instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, ClassFileLocator classFileLocator) Creates a new decorating dynamic type builder.protectedDecoratingDynamicTypeBuilder(TypeDescription instrumentedType, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<DynamicType> auxiliaryTypes, ClassFileLocator classFileLocator) Creates a new decorating dynamic type builder.protectedInliningImplementationMatcher(LatentMatcher<? super MethodDescription> ignoredMethods, ElementMatcher<? super MethodDescription> predefinedMethodSignatures) Creates a new inline implementation matcher.protectedInliningImplementationMatcher(LatentMatcher<? super MethodDescription> ignoredMethods, ElementMatcher<? super MethodDescription> predefinedMethodSignatures) Creates a new inline implementation matcher.RebaseDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Creates a rebase dynamic type builder.protectedRebaseDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Creates a rebase dynamic type builder.RedefinitionDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a redefinition dynamic type builder.protectedRedefinitionDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a redefinition dynamic type builder. -
Uses of MethodDescription in net.bytebuddy.dynamic.scaffold.subclass
Classes in net.bytebuddy.dynamic.scaffold.subclass that implement interfaces with type arguments of type MethodDescriptionModifier and TypeClassDescriptionprotected static classA matcher that locates all methods that are overridable and not ignored or that are directly defined on the instrumented type.Fields in net.bytebuddy.dynamic.scaffold.subclass with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprivate final ElementMatcher<? super MethodDescription> ConstructorStrategy.ForDefaultConstructor.elementMatcherA matcher to select a super constructor among possible candidates.private final LatentMatcher<? super MethodDescription> SubclassDynamicTypeBuilder.InstrumentableMatcher.ignoredMethodsA matcher for the ignored methods.Methods in net.bytebuddy.dynamic.scaffold.subclass that return types with arguments of type MethodDescriptionModifier and TypeMethodDescriptionElementMatcher<? super MethodDescription> SubclassDynamicTypeBuilder.InstrumentableMatcher.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.Method parameters in net.bytebuddy.dynamic.scaffold.subclass with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionprotected DynamicType.Builder<T> SubclassDynamicTypeBuilder.materialize(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Constructor parameters in net.bytebuddy.dynamic.scaffold.subclass with type arguments of type MethodDescriptionModifierConstructorDescriptionForDefaultConstructor(ElementMatcher<? super MethodDescription> elementMatcher) Creates a constructor strategy for invoking a super constructor with default arguments.ForDefaultConstructor(ElementMatcher<? super MethodDescription> elementMatcher, MethodAttributeAppender.Factory methodAttributeAppenderFactory) Creates a constructor strategy for invoking a super constructor with default arguments.protectedInstrumentableMatcher(LatentMatcher<? super MethodDescription> ignoredMethods) Creates a latent method matcher that matches all methods that are to be instrumented by aSubclassDynamicTypeBuilder.SubclassDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, ConstructorStrategy constructorStrategy) Creates a new type builder for creating a subclass.protectedSubclassDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, ConstructorStrategy constructorStrategy) Creates a new type builder for creating a subclass. -
Uses of MethodDescription in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement MethodDescriptionModifier and TypeClassDescriptionprotected static classA base implementation of a method that accesses a property of an instrumented type.protected static classA description of an accessor method to access another method from outside the instrumented type.protected static classA description of a field getter method.protected static classA description of a field setter method.Fields in net.bytebuddy.implementation declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionEqualsMethod.NullValueGuard.UsingJump.instrumentedMethodThe instrumented method.private final MethodDescriptionHashCodeMethod.NullValueGuard.UsingJump.instrumentedMethodThe instrumented method.private final MethodDescriptionInvokeDynamic.InvocationProvider.Default.Target.instrumentedMethodThe intercepted method.private final MethodDescriptionMethodCall.ArgumentLoader.ForField.instrumentedMethodThe instrumented method.private final MethodDescriptionMethodCall.ArgumentLoader.ForMethodCall.instrumentedMethodThe instrumented method.private final MethodDescriptionMethodCall.ArgumentLoader.ForMethodParameter.instrumentedMethodThe instrumented method.private final MethodDescriptionMethodCall.TargetHandler.ForMethodCall.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionMethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved.instrumentedMethodThe instrumented method.private final MethodDescriptionImplementation.Context.Default.AccessorMethod.methodDescriptionThe method that is being accessed.private final MethodDescriptionImplementation.SpecialMethodInvocation.Simple.methodDescriptionThe method description that is represented by this legal special method invocation.private final MethodDescriptionMethodCall.ArgumentLoader.ForMethodCall.methodDescriptionThe invoked method.private final MethodDescriptionMethodCall.MethodLocator.ForExplicitMethod.methodDescriptionThe method to be invoked.private final MethodDescriptionMethodCall.TargetHandler.ForMethodCall.Resolved.methodDescriptionThe invoked method.private final MethodDescriptionMethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn.methodDescriptionThe method to call for result.private final MethodDescriptionExceptionMethod.ConstructionDelegate.ForDefaultConstructor.targetConstructorThe constructor that is used for creating the exception.private final MethodDescriptionExceptionMethod.ConstructionDelegate.ForStringConstructor.targetConstructorThe constructor that is used for creating the exception.Fields in net.bytebuddy.implementation with type parameters of type MethodDescriptionModifier and TypeFieldDescriptionprivate final ElementMatcher<? super MethodDescription> MethodCall.MethodLocator.ForElementMatcher.Factory.matcherThe matcher to use.private final ElementMatcher<? super MethodDescription> MethodCall.MethodLocator.ForElementMatcher.matcherThe matcher to use.protected final ElementMatcher<? super MethodDescription> MethodDelegation.ImplementationDelegate.ForField.matcherThe matcher to use for filtering methods.private final ElementMatcher<? super MethodDescription> MethodDelegation.ImplementationDelegate.ForMethodReturn.matcherThe matcher to use for filtering methods.private final ElementMatcher<? super MethodDescription> MethodDelegation.WithCustomProperties.matcherThe matcher to use for filtering relevant methods.Methods in net.bytebuddy.implementation that return MethodDescriptionModifier and TypeMethodDescriptionImplementation.SpecialMethodInvocation.getMethodDescription()Returns the method that represents this special method invocation.Implementation.SpecialMethodInvocation.Illegal.getMethodDescription()Returns the method that represents this special method invocation.Implementation.SpecialMethodInvocation.Simple.getMethodDescription()Returns the method that represents this special method invocation.MethodCall.MethodLocator.ForElementMatcher.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.ForExplicitMethod.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.ForInstrumentedMethod.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.protected MethodDescriptionMethodCall.Appender.toInvokedMethod(MethodDescription instrumentedMethod, MethodCall.TargetHandler.Resolved targetHandler) Resolves this appender to the method being invoked.Methods in net.bytebuddy.implementation with parameters of type MethodDescriptionModifier and TypeMethodDescriptionDefaultMethodCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.EqualsMethod.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ExceptionMethod.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FieldAccessor.ForImplicitProperty.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FieldAccessor.ForSetter.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.protected ByteCodeAppender.SizeFixedValue.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod, TypeDescription.Generic typeDescription, StackManipulation stackManipulation) Blueprint method that for applying the actual implementation.FixedValue.ForArgument.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FixedValue.ForConstantValue.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FixedValue.ForNullValue.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FixedValue.ForOriginType.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FixedValue.ForThisValue.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FixedValue.ForValue.StaticFieldByteCodeAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.HashCodeMethod.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Implementation.Context.Default.AccessorMethodDelegation.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Implementation.Context.Default.FieldGetterDelegation.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Implementation.Context.Default.FieldSetterDelegation.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Implementation.Simple.Dispatcher.apply(Implementation.Target implementationTarget, MethodDescription instrumentedMethod) Creates a stack manipulation from a simple method dispatch.Implementation.Simple.ForDispatcher.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.protected ByteCodeAppender.SizeInvocationHandlerAdapter.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod, StackManipulation preparingManipulation, FieldDescription fieldDescription) Applies an implementation that delegates to a invocation handler.InvocationHandlerAdapter.ForField.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.InvocationHandlerAdapter.ForInstance.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.InvokeDynamic.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.MethodCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.MethodCall.FieldSetting.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.MethodDelegation.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.StubMethod.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.SuperMethodCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ToStringMethod.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.private List<StackManipulation> InvocationHandlerAdapter.argumentValuesOf(MethodDescription instrumentedMethod) Returns a list of stack manipulations that loads all arguments of an instrumented method.static MethodCallMethodCall.construct(MethodDescription methodDescription) Invokes the given constructor in order to create an instance.MethodCall.invoke(MethodDescription methodDescription) Invokes the given method.private StackManipulationDefaultMethodCall.Appender.locateDefault(MethodDescription methodDescription) Locates a special method invocation to be invoked from a given method.InvokeDynamic.InvocationProvider.Default.make(MethodDescription methodDescription) Creates a target for the invocation.InvokeDynamic.InvocationProvider.make(MethodDescription methodDescription) Creates a target for the invocation.Implementation.SpecialMethodInvocation.Simple.of(MethodDescription methodDescription, TypeDescription typeDescription) Creates a special method invocation for a given invocation target.protected abstract StackManipulationSuperMethodCall.Appender.TerminationHandler.of(MethodDescription methodDescription) Creates a stack manipulation that represents this handler's behavior.MethodDelegation.ImplementationDelegate.Compiled.ForConstruction.prepare(MethodDescription instrumentedMethod) Resolves a stack manipulation that prepares the delegation invocation.MethodDelegation.ImplementationDelegate.Compiled.ForField.prepare(MethodDescription instrumentedMethod) Resolves a stack manipulation that prepares the delegation invocation.MethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn.prepare(MethodDescription instrumentedMethod) Resolves a stack manipulation that prepares the delegation invocation.MethodDelegation.ImplementationDelegate.Compiled.ForStaticCall.prepare(MethodDescription instrumentedMethod) Resolves a stack manipulation that prepares the delegation invocation.MethodDelegation.ImplementationDelegate.Compiled.prepare(MethodDescription instrumentedMethod) Resolves a stack manipulation that prepares the delegation invocation.FieldAccessor.FieldLocation.Absolute.resolve(MethodDescription instrumentedMethod) Resolves the field description to use.FieldAccessor.FieldLocation.Prepared.resolve(MethodDescription instrumentedMethod) Resolves the field description to use.FieldAccessor.FieldLocation.Relative.Prepared.resolve(MethodDescription instrumentedMethod) Resolves the field description to use.FieldAccessor.FieldNameExtractor.ForBeanProperty.resolve(MethodDescription methodDescription) Extracts a field name to be accessed by a getter or setter method.FieldAccessor.FieldNameExtractor.ForFixedValue.resolve(MethodDescription methodDescription) Extracts a field name to be accessed by a getter or setter method.FieldAccessor.FieldNameExtractor.resolve(MethodDescription methodDescription) Extracts a field name to be accessed by a getter or setter method.protected StackManipulationFieldAccessor.ForSetter.OfConstantValue.resolve(Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfDefaultValue.resolve(Void initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfFieldValue.resolve(FieldAccessor.FieldLocation.Prepared target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfParameterValue.resolve(Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfReferenceValue.resolve(FieldDescription.InDefinedShape target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected abstract StackManipulationFieldAccessor.ForSetter.resolve(T initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected abstract StackManipulationFieldAccessor.ForSetter.TerminationHandler.resolve(MethodDescription instrumentedMethod) Resolves the return instruction.InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.WrappingArgumentProvider.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForBooleanConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForByteConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForCharacterConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForClassConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForDoubleConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForEnumerationValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForFloatConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInstance.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForIntegerConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodInstanceAndParameters.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForLongConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForShortConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForStringConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstance.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.NameProvider.ForExplicitName.resolve(MethodDescription methodDescription) Resolves the name given the intercepted method.InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod.resolve(MethodDescription methodDescription) Resolves the name given the intercepted method.InvokeDynamic.InvocationProvider.NameProvider.resolve(MethodDescription methodDescription) Resolves the name given the intercepted method.InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType.resolve(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod.resolve(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.InvokeDynamic.InvocationProvider.ReturnTypeProvider.resolve(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.protected abstract StackManipulationInvokeDynamic.TerminationHandler.resolve(MethodDescription interceptedMethod, TypeDescription returnType, Assigner assigner, Assigner.Typing typing) Returns a stack manipulation that handles the method return.MethodCall.ArgumentLoader.ArgumentProvider.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForField.ArgumentProvider.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForInstance.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForInstrumentedType.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForMethodCall.ArgumentProvider.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForMethodParameter.Factory.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForMethodParameter.OfInstrumentedMethod.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForMethodParameterArray.ForInstrumentedMethod.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfInvokedMethod.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfParameter.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForNullConstant.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForStackManipulation.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.ArgumentLoader.ForThisReference.resolve(MethodDescription instrumentedMethod, MethodDescription invokedMethod) Resolves this provider to an argument loader for each provided argument.MethodCall.MethodLocator.ForElementMatcher.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.ForExplicitMethod.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.ForInstrumentedMethod.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.TargetHandler.ForConstructingInvocation.resolve(MethodDescription instrumentedMethod) Resolves this target handler.MethodCall.TargetHandler.ForField.resolve(MethodDescription instrumentedMethod) Resolves this target handler.MethodCall.TargetHandler.ForMethodCall.resolve(MethodDescription instrumentedMethod) Resolves this target handler.MethodCall.TargetHandler.ForMethodParameter.resolve(MethodDescription instrumentedMethod) Resolves this target handler.MethodCall.TargetHandler.ForSelfOrStaticInvocation.resolve(MethodDescription instrumentedMethod) Resolves this target handler.MethodCall.TargetHandler.ForValue.resolve(MethodDescription instrumentedMethod) Resolves this target handler.MethodCall.TargetHandler.resolve(MethodDescription instrumentedMethod) Resolves this target handler.MethodCall.TargetHandler.Simple.resolve(MethodDescription instrumentedMethod) Resolves this target handler.protected MethodDescriptionMethodCall.Appender.toInvokedMethod(MethodDescription instrumentedMethod, MethodCall.TargetHandler.Resolved targetHandler) Resolves this appender to the method being invoked.protected StackManipulationMethodCall.Appender.toStackManipulation(MethodDescription instrumentedMethod, MethodDescription invokedMethod, MethodCall.TargetHandler.Resolved targetHandler) Resolves this appender to a stack manipulation.MethodCall.MethodInvoker.ForContextualInvocation.toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget) Invokes the method.MethodCall.MethodInvoker.ForDefaultMethodInvocation.toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget) Invokes the method.MethodCall.MethodInvoker.ForSuperMethodInvocation.toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget) Invokes the method.MethodCall.MethodInvoker.ForVirtualInvocation.toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget) Invokes the method.MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType.toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget) Invokes the method.MethodCall.MethodInvoker.toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget) Invokes the method.MethodCall.TargetHandler.ForConstructingInvocation.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TargetHandler.ForField.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TargetHandler.ForMethodCall.Resolved.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TargetHandler.ForMethodParameter.Resolved.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TargetHandler.ForValue.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TargetHandler.Resolved.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TargetHandler.Simple.toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing) Creates a stack manipulation to represent this resolved target handler.MethodCall.TerminationHandler.FieldSetting.toStackManipulation(MethodDescription invokedMethod, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Returns a stack manipulation that handles the method return.MethodCall.TerminationHandler.toStackManipulation(MethodDescription invokedMethod, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Returns a stack manipulation that handles the method return.Method parameters in net.bytebuddy.implementation with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionMethodDelegation.WithCustomProperties.filter(ElementMatcher<? super MethodDescription> matcher) Configures this method delegation to only consider methods or constructors as a delegation target if they match the supplied matcher.MethodCall.invoke(ElementMatcher<? super MethodDescription> matcher) Invokes a unique virtual method or constructor of the instrumented type that is matched by the specified matcher.MethodCall.invoke(ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler) Invokes a unique virtual method or constructor of the instrumented type that is matched by the specified matcher.Constructors in net.bytebuddy.implementation with parameters of type MethodDescriptionModifierConstructorDescriptionprotectedAccessorMethod(TypeDescription instrumentedType, MethodDescription methodDescription, TypeDescription typeDescription, String suffix) Creates a new accessor method.protectedForExplicitMethod(MethodDescription methodDescription) Creates a new method locator for a given method.ForField(FieldDescription fieldDescription, MethodDescription instrumentedMethod) Creates a new argument loader for loading an existing field.ForMethodCall(MethodCall.Appender appender, MethodDescription methodDescription, MethodDescription instrumentedMethod, MethodCall.TargetHandler.Resolved targetHandler) Creates a new argument loader for loading a method call's return value.ForMethodParameter(int index, MethodDescription instrumentedMethod) Creates an argument loader for a parameter of the instrumented method.protectedForMethodReturn(MethodDescription methodDescription, List<MethodDelegationBinder.Record> records) Creates a new compiled implementation delegate for a field delegation.protectedResolved(MethodCall.Appender appender, MethodDescription methodDescription, MethodDescription instrumentedMethod, MethodCall.TargetHandler.Resolved targetHandler) Creates a resolved target handler for a method call.protectedResolved(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a resolved target handler for a static or self-declared invocation.protectedSimple(MethodDescription methodDescription, TypeDescription typeDescription, StackManipulation stackManipulation) Creates a new legal special method invocation.protectedTarget(String internalName, TypeDescription returnType, List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders, MethodDescription instrumentedMethod) Creates a new target.protectedUsingJump(MethodDescription instrumentedMethod) Creates a new null value guard using a jump instruction fornullvalues.protectedUsingJump(MethodDescription instrumentedMethod) Creates a new null value guard using a jump instruction fornullvalues.Constructor parameters in net.bytebuddy.implementation with type arguments of type MethodDescriptionModifierConstructorDescriptionFactory(ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler) Creates a factory for a method locator that identifies a method using a matcher.protectedForElementMatcher(TypeDescription instrumentedType, ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler) Creates a new method locator for an element matcher.protectedForField(String fieldName, MethodGraph.Compiler methodGraphCompiler, List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, ElementMatcher<? super MethodDescription> matcher) Creates a new implementation delegate for a field delegation.protectedForMethodReturn(String name, MethodGraph.Compiler methodGraphCompiler, List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, ElementMatcher<? super MethodDescription> matcher) Creates a new implementation delegate for a method return value delegation.privateWithCustomProperties(MethodDelegationBinder.AmbiguityResolver ambiguityResolver, List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, MethodDelegationBinder.BindingResolver bindingResolver, ElementMatcher<? super MethodDescription> matcher) Creates a new method delegation with custom properties.protectedWithInstance(String fieldName, MethodGraph.Compiler methodGraphCompiler, List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, ElementMatcher<? super MethodDescription> matcher, Object target, TypeDescription.Generic fieldType) Creates a new implementation delegate for invoking methods on a supplied instance.protectedWithLookup(String fieldName, MethodGraph.Compiler methodGraphCompiler, List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders, ElementMatcher<? super MethodDescription> matcher, FieldLocator.Factory fieldLocatorFactory) Creates a new implementation delegate for a field that is declared by the instrumented type or any super type. -
Uses of MethodDescription in net.bytebuddy.implementation.attribute
Methods in net.bytebuddy.implementation.attribute with parameters of type MethodDescriptionModifier and TypeMethodDescriptionprotected abstract AnnotationAppenderMethodAttributeAppender.ForInstrumentedMethod.appendReceiver(AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, MethodDescription methodDescription) Appends the annotations of the instrumented method's receiver type if this is enabled and such a type exists.voidMethodAttributeAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.voidMethodAttributeAppender.Compound.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.voidMethodAttributeAppender.Explicit.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.voidMethodAttributeAppender.ForInstrumentedMethod.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.voidMethodAttributeAppender.ForReceiverType.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.voidMethodAttributeAppender.NoOp.apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given method visitor.MethodAttributeAppender.Explicit.Target.make(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription) Materializes the target for a given creation process.MethodAttributeAppender.Explicit.Target.OnMethod.make(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription) Materializes the target for a given creation process.MethodAttributeAppender.Explicit.Target.OnMethodParameter.make(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription) Materializes the target for a given creation process.MethodAttributeAppender.Explicit.of(MethodDescription methodDescription) Creates a method attribute appender factory that writes all annotations of a given method, both the method annotations themselves and all annotations that are defined for every parameter.MethodAttributeAppender.Explicit.ofMethodAnnotations(MethodDescription methodDescription) Creates a method attribute appender factory that writes all method annotations that are defined on the given method.MethodAttributeAppender.Explicit.ofParameterAnnotations(MethodDescription methodDescription) Creates a method attribute appender factory that writes all annotations that are defined for every parameter of the given method.AnnotationValueFilter.Default.on(MethodDescription methodDescription) Creates an annotation value filter for writing annotations on a method.AnnotationValueFilter.Factory.on(MethodDescription methodDescription) Creates an annotation value filter for writing annotations on a method. -
Uses of MethodDescription in net.bytebuddy.implementation.auxiliary
Fields in net.bytebuddy.implementation.auxiliary declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionMethodCallProxy.MethodCall.accessorMethodThe method that is accessed by the implemented method.private final MethodDescriptionTypeProxy.MethodCall.Appender.AccessorMethodInvocation.instrumentedMethodThe instrumented method that is implemented.private final MethodDescriptionMethodCallProxy.ConstructorCall.objectTypeDefaultConstructorA reference of theObjecttype default constructor.Methods in net.bytebuddy.implementation.auxiliary with parameters of type MethodDescriptionModifier and TypeMethodDescriptionMethodCallProxy.ConstructorCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.MethodCallProxy.MethodCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.TypeProxy.MethodCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.TypeProxy.SilentConstruction.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.private static LinkedHashMap<String, TypeDescription> MethodCallProxy.extractFields(MethodDescription methodDescription) Creates a linked hash map of field names to their types where each field represents a parameter of the method.TypeProxy.InvocationFactory.invoke(Implementation.Target implementationTarget, TypeDescription proxiedType, MethodDescription instrumentedMethod) Creates a special method invocation to implement for a given method.static AuxiliaryTypePrivilegedMemberLookupAction.of(MethodDescription methodDescription) Returns an auxiliary type for loading the supplied method description as a constant.Constructors in net.bytebuddy.implementation.auxiliary with parameters of type MethodDescriptionModifierConstructorDescriptionprotectedAccessorMethodInvocation(MethodDescription instrumentedMethod, Implementation.SpecialMethodInvocation specialMethodInvocation) Creates a new accessor method invocation.protectedMethodCall(MethodDescription accessorMethod, Assigner assigner) Creates a new method call implementation. -
Uses of MethodDescription in net.bytebuddy.implementation.bind
Fields in net.bytebuddy.implementation.bind declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionMethodDelegationBinder.MethodBinding.Builder.candidateThe target method that for which a binding is to be constructed by this builder..private final MethodDescriptionMethodDelegationBinder.MethodBinding.Builder.Build.targetThe target method this binding represents.Methods in net.bytebuddy.implementation.bind that return MethodDescriptionModifier and TypeMethodDescriptionMethodDelegationBinder.MethodBinding.Builder.Build.getTarget()Returns the target method of the method binding attempt.MethodDelegationBinder.MethodBinding.getTarget()Returns the target method of the method binding attempt.MethodDelegationBinder.MethodBinding.Illegal.getTarget()Returns the target method of the method binding attempt.Methods in net.bytebuddy.implementation.bind with parameters of type MethodDescriptionModifier and TypeMethodDescriptionMethodDelegationBinder.Processor.bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner) Attempts a binding of a source method to this compiled target.MethodDelegationBinder.Record.bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner) Attempts a binding of a source method to this compiled target.MethodDelegationBinder.Record.Illegal.bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner) Attempts a binding of a source method to this compiled target.MethodDelegationBinder.compile(MethodDescription candidate) Compiles this method delegation binder for a target method.MethodDelegationBinder.BindingResolver.Default.doResolve(MethodDelegationBinder.AmbiguityResolver ambiguityResolver, MethodDescription source, List<MethodDelegationBinder.MethodBinding> targets) Resolves a method binding for thesourcemethod.MethodDelegationBinder.MethodInvoker.invoke(MethodDescription methodDescription) Creates a method invocation for a given method.MethodDelegationBinder.MethodInvoker.Simple.invoke(MethodDescription methodDescription) Creates a method invocation for a given method.MethodDelegationBinder.MethodInvoker.Virtual.invoke(MethodDescription methodDescription) Creates a method invocation for a given method.ArgumentTypeResolver.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.DeclaringTypeResolver.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.MethodDelegationBinder.AmbiguityResolver.Compound.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.MethodDelegationBinder.AmbiguityResolver.Directional.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.MethodDelegationBinder.AmbiguityResolver.NoOp.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.MethodDelegationBinder.AmbiguityResolver.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.MethodDelegationBinder.BindingResolver.Default.resolve(MethodDelegationBinder.AmbiguityResolver ambiguityResolver, MethodDescription source, List<MethodDelegationBinder.MethodBinding> targets) Resolves a method binding for thesourcemethod.MethodDelegationBinder.BindingResolver.resolve(MethodDelegationBinder.AmbiguityResolver ambiguityResolver, MethodDescription source, List<MethodDelegationBinder.MethodBinding> targets) Resolves a method binding for thesourcemethod.MethodDelegationBinder.BindingResolver.StreamWriting.resolve(MethodDelegationBinder.AmbiguityResolver ambiguityResolver, MethodDescription source, List<MethodDelegationBinder.MethodBinding> targets) Resolves a method binding for thesourcemethod.MethodDelegationBinder.BindingResolver.Unique.resolve(MethodDelegationBinder.AmbiguityResolver ambiguityResolver, MethodDescription source, List<MethodDelegationBinder.MethodBinding> targets) Resolves a method binding for thesourcemethod.MethodDelegationBinder.TerminationHandler.resolve(Assigner assigner, Assigner.Typing typing, MethodDescription source, MethodDescription target) Creates a stack manipulation that is to be applied after the method return.MethodNameEqualityResolver.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.ParameterLengthResolver.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.Constructors in net.bytebuddy.implementation.bind with parameters of type MethodDescriptionModifierConstructorDescriptionprotectedBuild(MethodDescription target, Map<?, Integer> registeredTargetIndices, StackManipulation methodInvocation, List<StackManipulation> parameterStackManipulations, StackManipulation terminatingStackManipulation) Creates a new method binding.Builder(MethodDelegationBinder.MethodInvoker methodInvoker, MethodDescription candidate) Creates a new builder for the binding of a given method. -
Uses of MethodDescription in net.bytebuddy.implementation.bind.annotation
Fields in net.bytebuddy.implementation.bind.annotation declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionMorph.Binder.RedirectionProxy.MethodCall.accessorMethodThe accessor method to invoke from the proxy's method.private final MethodDescriptionTargetMethodAnnotationDrivenBinder.Record.candidateThe candidate method.private final MethodDescriptionMorph.Binder.forwardingMethodThe method which is overridden for generating the proxy class.private final MethodDescriptionPipe.Binder.forwardingMethodThe method which implements the behavior of forwarding a method invocation.private final MethodDescriptionFieldProxy.Binder.StaticFieldConstructor.objectTypeDefaultConstructorA reference of theObjecttype default constructor.private final MethodDescriptionMorph.Binder.RedirectionProxy.StaticFieldConstructor.objectTypeDefaultConstructorA reference of theObjecttype default constructor.private final MethodDescriptionPipe.Binder.RedirectionProxy.MethodCall.redirectedMethodThe method that is invoked by the implemented method.private final MethodDescriptionPipe.Binder.RedirectionProxy.sourceMethodThe method that is to be forwarded.Methods in net.bytebuddy.implementation.bind.annotation that return MethodDescriptionModifier and TypeMethodDescriptionprivate static MethodDescriptionMorph.Binder.onlyMethod(TypeDescription typeDescription) Extracts the only method of a given type and validates to fit the constraints of the morph annotation.private static MethodDescriptionPipe.Binder.onlyMethod(TypeDescription typeDescription) Locates the only method of a type that is compatible to being overridden for invoking the proxy.Methods in net.bytebuddy.implementation.bind.annotation with parameters of type MethodDescriptionModifier and TypeMethodDescriptionFieldProxy.Binder.FieldGetter.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FieldProxy.Binder.FieldSetter.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.FieldProxy.Binder.InstanceFieldConstructor.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Morph.Binder.RedirectionProxy.InstanceFieldConstructor.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Morph.Binder.RedirectionProxy.MethodCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Pipe.Binder.RedirectionProxy.ConstructorCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.Pipe.Binder.RedirectionProxy.MethodCall.Appender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.AllArguments.Binder.bind(AnnotationDescription.Loadable<AllArguments> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Argument.Binder.bind(AnnotationDescription.Loadable<Argument> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Default.Binder.bind(AnnotationDescription.Loadable<Default> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.DefaultCall.Binder.bind(AnnotationDescription.Loadable<DefaultCall> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.DefaultCallHandle.Binder.bind(AnnotationDescription.Loadable<DefaultCallHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.DefaultMethod.Binder.bind(AnnotationDescription.Loadable<DefaultMethod> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.DefaultMethodHandle.Binder.bind(AnnotationDescription.Loadable<DefaultMethodHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.DynamicConstant.Binder.bind(AnnotationDescription.Loadable<DynamicConstant> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Empty.Binder.bind(AnnotationDescription.Loadable<Empty> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.FieldGetterHandle.Binder.bind(AnnotationDescription.Loadable<FieldGetterHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected MethodDelegationBinder.ParameterBinding<?> FieldGetterHandle.Binder.Delegate.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldGetterHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) protected MethodDelegationBinder.ParameterBinding<?> FieldProxy.Binder.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldProxy> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) FieldSetterHandle.Binder.bind(AnnotationDescription.Loadable<FieldSetterHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected MethodDelegationBinder.ParameterBinding<?> FieldSetterHandle.Binder.Delegate.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldSetterHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) FieldValue.Binder.bind(AnnotationDescription.Loadable<FieldValue> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected MethodDelegationBinder.ParameterBinding<?> FieldValue.Binder.Delegate.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldValue> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) Handle.Binder.bind(AnnotationDescription.Loadable<Handle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Morph.Binder.bind(AnnotationDescription.Loadable<Morph> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Origin.Binder.bind(AnnotationDescription.Loadable<Origin> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Pipe.Binder.bind(AnnotationDescription.Loadable<Pipe> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.StubValue.Binder.bind(AnnotationDescription.Loadable<StubValue> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Super.Binder.bind(AnnotationDescription.Loadable<Super> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.SuperCall.Binder.bind(AnnotationDescription.Loadable<SuperCall> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.SuperCallHandle.Binder.bind(AnnotationDescription.Loadable<SuperCallHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.SuperMethod.Binder.bind(AnnotationDescription.Loadable<SuperMethod> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.SuperMethodHandle.Binder.bind(AnnotationDescription.Loadable<SuperMethodHandle> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.bind(MethodDescription source, Implementation.Target implementationTarget, Assigner assigner) Handles a parameter binding.TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound.bind(MethodDescription source, Implementation.Target implementationTarget, Assigner assigner) Handles a parameter binding.TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound.bind(MethodDescription source, Implementation.Target implementationTarget, Assigner assigner) Handles a parameter binding.TargetMethodAnnotationDrivenBinder.ParameterBinder.bind(AnnotationDescription.Loadable<T> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding.bind(AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected abstract MethodDelegationBinder.ParameterBinding<?> TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding.bind(FieldDescription fieldDescription, AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) Creates a parameter binding for the given target parameter.protected abstract ObjectTargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.bind(AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target) Resolves a value for the given annotation on a parameter that is processed by aMethodDelegation.TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.bind(AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected ObjectTargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant.bind(AnnotationDescription.Loadable<U> annotation, MethodDescription source, ParameterDescription target) TargetMethodAnnotationDrivenBinder.Record.bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner) Attempts a binding of a source method to this compiled target.This.Binder.bind(AnnotationDescription.Loadable<This> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.static booleanIgnoreForBinding.Verifier.check(MethodDescription methodDescription) Validates if a method should be ignored for binding.TargetMethodAnnotationDrivenBinder.compile(MethodDescription candidate) Compiles this method delegation binder for a target method.private static LinkedHashMap<String, TypeDescription> Pipe.Binder.RedirectionProxy.extractFields(MethodDescription methodDescription) Extracts all parameters of a method to fields.BindingPriority.Resolver.resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.DefaultCall.Binder.DefaultMethodLocator.Explicit.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.DefaultCall.Binder.DefaultMethodLocator.Implicit.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.DefaultCall.Binder.DefaultMethodLocator.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.DefaultCallHandle.Binder.DefaultMethodLocator.Explicit.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.DefaultCallHandle.Binder.DefaultMethodLocator.Implicit.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.DefaultCallHandle.Binder.DefaultMethodLocator.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.DefaultMethod.Binder.MethodLocator.ForExplicitType.resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.DefaultMethod.Binder.MethodLocator.ForImplicitType.resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.DefaultMethod.Binder.MethodLocator.resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.DefaultMethodHandle.Binder.MethodLocator.ForExplicitType.resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.DefaultMethodHandle.Binder.MethodLocator.ForImplicitType.resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.DefaultMethodHandle.Binder.MethodLocator.resolve(Implementation.Target implementationTarget, MethodDescription source) Resolves the special method invocation to this target.Morph.Binder.DefaultMethodLocator.Explicit.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.Morph.Binder.DefaultMethodLocator.Implicit.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.Morph.Binder.DefaultMethodLocator.resolve(Implementation.Target implementationTarget, MethodDescription source) Locates the correct default method to a given source method.Constructors in net.bytebuddy.implementation.bind.annotation with parameters of type MethodDescriptionModifierConstructorDescriptionprotectedBinder(MethodDescription forwardingMethod) Creates a new binder.protectedBinder(MethodDescription forwardingMethod) Creates a new binder.protectedMethodCall(MethodDescription accessorMethod, Assigner assigner) Creates a new method call implementation for a proxy method.privateMethodCall(MethodDescription redirectedMethod, Assigner assigner) Creates a new method call implementation.protectedRecord(MethodDescription candidate, List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> handlers, Assigner.Typing typing) Creates a default compiled method delegation binder.protectedRedirectionProxy(TypeDescription forwardingType, MethodDescription sourceMethod, Assigner assigner, boolean serializableProxy) Creates a new redirection. -
Uses of MethodDescription in net.bytebuddy.implementation.bytecode
Methods in net.bytebuddy.implementation.bytecode with parameters of type MethodDescriptionModifier and TypeMethodDescriptionByteCodeAppender.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ByteCodeAppender.Compound.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process.ByteCodeAppender.Simple.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod) Applies this byte code appender to a type creation process. -
Uses of MethodDescription in net.bytebuddy.implementation.bytecode.member
Fields in net.bytebuddy.implementation.bytecode.member declared as MethodDescriptionModifier and TypeFieldDescriptionprivate final MethodDescriptionMethodVariableAccess.MethodLoading.TypeCastingHandler.ForBridgeTarget.bridgeTargetThe target of the method bridge.private final MethodDescriptionMethodVariableAccess.MethodLoading.methodDescriptionThe method for which all parameters are loaded onto the operand stack.Methods in net.bytebuddy.implementation.bytecode.member with parameters of type MethodDescriptionModifier and TypeMethodDescriptionMethodVariableAccess.allArgumentsOf(MethodDescription methodDescription) Loads all arguments of the provided method onto the operand stack.MethodVariableAccess.MethodLoading.asBridgeOf(MethodDescription bridgeTarget) Applies a transformation to all loaded arguments of the method being loaded to be casted to the corresponding parameter of the provided method.MethodInvocation.invoke(MethodDescription methodDescription) Creates a method invocation with an implicitly determined invocation type.protected static MethodInvocation.WithImplicitInvocationTargetTypeMethodInvocation.OfGenericMethod.of(MethodDescription methodDescription, MethodInvocation.WithImplicitInvocationTargetType invocation) Creates a generic access dispatcher for a given method.Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type MethodDescriptionModifierConstructorDescriptionForBridgeTarget(MethodDescription bridgeTarget) Creates a new type casting handler for a bridge target.protectedMethodLoading(MethodDescription methodDescription, MethodVariableAccess.MethodLoading.TypeCastingHandler typeCastingHandler) Creates a new method loading stack manipulation. -
Uses of MethodDescription in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher with type parameters of type MethodDescriptionModifier and TypeClassDescriptionclassMethodExceptionTypeMatcher<T extends MethodDescription>An element matcher that matches the exceptions that are declared by a method.classMethodOverrideMatcher<T extends MethodDescription>A matcher that checks if any super type of a type declares a method with the same shape of a matched method.classMethodParametersMatcher<T extends MethodDescription>An element matcher that matches a method's parameters.classMethodReturnTypeMatcher<T extends MethodDescription>An element matcher that matches its argument's return type against a given type matcher.classMethodSortMatcher<T extends MethodDescription>Matches a method description by its general characteristics which are represented as aMethodSortMatcher.Sort.classSignatureTokenMatcher<T extends MethodDescription>Matches a method description's signature token against another matcher.Subclasses with type arguments of type MethodDescription in net.bytebuddy.matcherModifier and TypeClassDescriptionprotected static classA resolved matcher of a latent method matcher for a method token.Classes in net.bytebuddy.matcher that implement interfaces with type arguments of type MethodDescriptionModifier and TypeClassDescriptionstatic classA latent matcher where the method token is being attached to the supplied type description before matching.static enumA latent matching methods that are declared by the resolved type.Methods in net.bytebuddy.matcher with type parameters of type MethodDescriptionModifier and TypeMethodDescriptionstatic <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.anyOf(Constructor<?>... value) Creates a matcher that matches any of the given constructors asMethodDescriptions by theObject.equals(Object)method.static <T extends MethodDescription>
ElementMatcher.Junction<T> Creates a matcher that matches any of the given methods asMethodDescriptions by theObject.equals(Object)method.static <T extends MethodDescription>
ElementMatcher.Junction<T> Matches aMethodDescriptionby its capability to throw a given checked exception.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.canThrow(TypeDescription exceptionType) Matches aMethodDescriptionby its capability to throw a given checked exception.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresException(Class<? extends Throwable> exceptionType) Matches a method that declares the given generic exception type as a (erased) exception type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresException(TypeDescription exceptionType) Matches a method that declares the given generic exception type as a (erased) exception type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresGenericException(Type exceptionType) Matches a method that declares the given generic exception type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresGenericException(TypeDescription.Generic exceptionType) Matches a method that declares the given generic exception type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresGenericException(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matcher) Matches a method's generic exception types against the provided matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.definedMethod(ElementMatcher<? super MethodDescription.InDefinedShape> matcher) Matches a method in its defined shape.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.hasMethodName(String internalName) Matches a method against its internal name such that constructors and type initializers are matched appropriately.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.hasParameters(ElementMatcher<? super Iterable<? extends ParameterDescription>> matcher) Matches aMethodDescriptionby validating that its parameters fulfill a given constraint.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.hasSignature(MethodDescription.SignatureToken token) Only matches method descriptions that yield the provided signature token.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.is(Constructor<?> constructor) Exactly matches a given constructor as aMethodDescriptionin its defined shape.static <T extends MethodDescription>
ElementMatcher.Junction<T> Exactly matches a given method as aMethodDescriptionin its defined shape.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.is(MethodDescription.InDefinedShape method) Exactly matches a given method or constructor as aMethodDescriptionin its defined shape.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isClone()Only matches theObject.clone()method, also if it was overridden.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isConstructor()Only matches method descriptions that represent aConstructor.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isDefaultConstructor()Matches a default constructor, i.e.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isDefaultFinalizer()Only matches theObject.finalize()method if it was not overridden.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isDefaultMethod()Only matches Java 8 default methods.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isEquals()Only matches theObject.equals(Object)method, also if it was overridden.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isFinalizer()Only matches theObject.finalize()method, even if it was overridden.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericGetter(Type type) Matches any Java bean getter method which returns the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericGetter(TypeDescription.Generic type) Matches any Java bean getter method which returns the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericGetter(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any Java bean getter method which returns a value with a type matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericSetter(Type type) Matches any Java bean setter method which takes an argument the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericSetter(TypeDescription.Generic type) Matches any Java bean setter method which takes an argument the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGenericSetter(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any Java bean setter method which takes an argument that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGetter()Matches any Java bean getter method.static <T extends MethodDescription>
ElementMatcher.Junction<T> Matches any Java bean getter method which returns the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> An element matcher that matches any getter for the given property.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGetter(TypeDescription type) Matches any Java bean getter method which returns the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGetter(ElementMatcher<? super TypeDescription> matcher) Matches any Java bean getter method which returns a value with a type matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isHashCode()Only matches theObject.hashCode()method, also if it was overridden.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isMain()Matches a Java main method as an application entry point.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isMain(boolean modernized) Matches a Java main method as an application entry point.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isMethod()Only matches method descriptions that represent aMethod.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFrom(Class<?> type) Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFrom(TypeDescription type) Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFrom(ElementMatcher<? super TypeDescription> matcher) Matches any virtual method with a signature that is compatible to a method that is declared by a type that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFromGeneric(Type type) Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFromGeneric(TypeDescription.Generic type) Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFromGeneric(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any virtual method with a signature that is compatible to a method that is declared by a type that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isSetter()Matches any Java bean setter method.static <T extends MethodDescription>
ElementMatcher.Junction<T> Matches any Java bean setter method which takes an argument the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> An element matcher that matches any setter for the given property.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isSetter(TypeDescription type) Matches any Java bean setter method which takes an argument the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isSetter(ElementMatcher<? super TypeDescription> matcher) Matches any Java bean setter method which takes an argument that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isToString()Only matches theObject.toString()method, also if it was overridden.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isTypeInitializer()Only matches method descriptions that represent aClasstype initializer.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isVirtual()Matches any method that is virtual, i.e.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.noneOf(Constructor<?>... value) Creates a matcher that matches none of the given constructors asMethodDescriptions by theObject.equals(Object)method.static <T extends MethodDescription>
ElementMatcher.Junction<T> Creates a matcher that matches none of the given methods asMethodDescriptions by theObject.equals(Object)method.static <T extends MethodDescription>
ElementMatcher.Junction<T> MethodSortMatcher.of(MethodSortMatcher.Sort sort) Returns an element matcher that matches a specific sort of method description.static <T extends MethodDescription>
ElementMatcher.Junction<T> MatchesMethodDescriptions that return a given erasure type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returns(TypeDescription type) MatchesMethodDescriptions that return a given erasure type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returns(ElementMatcher<? super TypeDescription> matcher) Matches a method's return type's erasure by the given matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returnsGeneric(Type type) MatchesMethodDescriptions that return a given generic type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returnsGeneric(TypeDescription.Generic type) MatchesMethodDescriptions that returns a givenTypeDescription.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returnsGeneric(ElementMatcher<? super TypeDescription.Generic> matcher) MatchesMethodDescriptions that match a matched method's return type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArgument(int index, Class<?> type) MatchesMethodDescriptions that define a given generic type as a parameter at the given index.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArgument(int index, TypeDescription type) MatchesMethodDescriptions that define a given type erasure as a parameter at the given index.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArgument(int index, ElementMatcher<? super TypeDescription> matcher) MatchesMethodDescriptions that define a type erasure as a parameter at the given index that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(int length) Matches aMethodDescriptionby the number of its parameters.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(Class<?>... type) Matches a method description that takes the provided raw arguments.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(Iterable<? extends TypeDescription> types) Matches a method description that takes the provided raw arguments.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(TypeDescription... type) Matches a method description that takes the provided raw arguments.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(ElementMatcher<? super Iterable<? extends TypeDescription>> matchers) Matches aMethodDescriptionby applying an iterable collection of element matcher on any parameter'sTypeDescription.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArgument(int index, Type type) MatchesMethodDescriptions that define a given generic type as a parameter at the given index.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArgument(int index, TypeDescription.Generic type) MatchesMethodDescriptions that define a given generic type as a parameter at the given index.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArgument(int index, ElementMatcher<? super TypeDescription.Generic> matcher) MatchesMethodDescriptions that define a given generic type as a parameter at the given index.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArguments(Type... type) Matches a method description that takes the provided generic arguments.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArguments(List<? extends TypeDefinition> types) Matches a method description that takes the provided generic arguments.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArguments(TypeDefinition... type) Matches a method description that takes the provided generic arguments.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesGenericArguments(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matchers) Matches aMethodDescriptionby applying an iterable collection of element matcher on any parameter'sTypeDescription.Generic.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesNoArguments()Matches aMethodDescriptionwith no parameters.Methods in net.bytebuddy.matcher that return types with arguments of type MethodDescriptionModifier and TypeMethodDescriptionElementMatcher<? super MethodDescription> LatentMatcher.ForMethodToken.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super MethodDescription> LatentMatcher.ForSelfDeclaredMethod.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.Methods in net.bytebuddy.matcher with parameters of type MethodDescriptionModifier and TypeMethodDescriptionbooleanLatentMatcher.ForMethodToken.ResolvedMatcher.doMatch(MethodDescription target) Matches the supplied value if it was found not to benull.protected abstract booleanMethodSortMatcher.Sort.isSort(MethodDescription target) Determines if a method description is of the represented method sort.private booleanMethodOverrideMatcher.matches(MethodDescription target, List<? extends TypeDefinition> typeDefinitions, Set<TypeDescription> duplicates) Matches a method against a list of types.private booleanMethodOverrideMatcher.matches(MethodDescription target, TypeDefinition typeDefinition) Checks if a type declares a method with the same signature astarget.Method parameters in net.bytebuddy.matcher with type arguments of type MethodDescriptionModifier and TypeMethodDescriptionstatic <T extends TypeDefinition>
ElementMatcher.Junction<T> ElementMatchers.declaresMethod(ElementMatcher<? super MethodDescription> matcher) Matches a type by another matcher that is applied on any of its declared methods.Constructor parameters in net.bytebuddy.matcher with type arguments of type MethodDescriptionModifierConstructorDescriptionDeclaringMethodMatcher(ElementMatcher<? super MethodList<? extends MethodDescription>> matcher) Creates a new matcher for a type's declared methods. -
Uses of MethodDescription in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement MethodDescriptionModifier and TypeClassDescriptionprivate classA lazy representation of a method that resolves references to types only on demand. -
Uses of MethodDescription in net.bytebuddy.utility
Methods in net.bytebuddy.utility with parameters of type MethodDescriptionModifier and TypeMethodDescriptionstatic JavaConstant.MethodTypeJavaConstant.MethodType.of(MethodDescription methodDescription) Returns a method type description of the given method.static JavaConstant.MethodTypeJavaConstant.MethodType.ofSignature(MethodDescription methodDescription) Returns a method type description of the given method's signature without considering the method's actual stack consumption and production. -
Uses of MethodDescription in net.bytebuddy.utility.visitor
Methods in net.bytebuddy.utility.visitor with parameters of type MethodDescriptionModifier and TypeMethodDescriptionstatic org.objectweb.asm.MethodVisitorStackAwareMethodVisitor.of(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription instrumentedMethod) Wraps the provided method visitor within a stack aware method visitor.Constructors in net.bytebuddy.utility.visitor with parameters of type MethodDescriptionModifierConstructorDescriptionLocalVariableAwareMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription methodDescription) Creates a local variable aware method visitor.protectedStackAwareMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription instrumentedMethod) Creates a new stack aware method visitor.