Uses of Interface
net.bytebuddy.description.method.MethodDescription.InDefinedShape
-
Packages that use MethodDescription.InDefinedShape Package Description net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.build A package for types that allow for applying Byte Buddy transformation during a build process.net.bytebuddy.description Classes of this package allow the representation of Java classes, their member and their meta data.net.bytebuddy.description.annotation Contains descriptions of annotations and annotation values.net.bytebuddy.description.method Contains descriptions of Java methods and constructors as well as their parameters.net.bytebuddy.description.type Contains descriptions of Java types and packages.net.bytebuddy.dynamic This package contains classes and interfaces that are connected to writing the byte stream that represents a Java type that is dynamically created and for loading this type into a running JVM process.net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicType
by enhancing a given type.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.implementation.attribute All types and classes in this package are responsible for writing attributes for a given Java byte code element, i.e.net.bytebuddy.implementation.auxiliary Auxiliary types describe helper types that aid as a supplementary to a givenInstrumentedType
.net.bytebuddy.implementation.bind.annotation 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.net.bytebuddy.implementation.bytecode.constant StackManipulation
s in this package are responsible for creating compile-time constants and pushing them onto the operand stack.net.bytebuddy.implementation.bytecode.member StackManipulation
s of this package are responsible for accessing type or method members, i.e.net.bytebuddy.matcher Contains an API for matching Java byte code entities.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescription
s without loading any classes.net.bytebuddy.utility This package contains utility classes for common use within any Byte Buddy logic. -
-
Uses of MethodDescription.InDefinedShape in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingMethodHandle. invokeExact
A description ofjava.lang.invoke.MethodHandle#invokeExact(Object...)
.private MethodDescription.InDefinedShape
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation. objectConstructor
A reference to theObject
class's default executing transformer.Constructors in net.bytebuddy.agent.builder with parameters of type MethodDescription.InDefinedShape Constructor Description UsingMethodHandle(MethodDescription.InDefinedShape invokeExact)
Creates a new dispatcher that is using a method handle. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
Advice.BootstrapArgumentResolver.ForDefaultValues. adviceMethod
The advice method.private MethodDescription.InDefinedShape
Advice.Delegator.ForDynamicInvocation. adviceMethod
The advice method.private MethodDescription.InDefinedShape
Advice.Delegator.ForRegularInvocation. adviceMethod
The advice method.protected MethodDescription.InDefinedShape
Advice.Dispatcher.Delegating. adviceMethod
The advice method.protected MethodDescription.InDefinedShape
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter. adviceMethod
The advice method.protected MethodDescription.InDefinedShape
Advice.Dispatcher.Inlining. adviceMethod
The advice method.protected MethodDescription.InDefinedShape
Advice.Dispatcher.Inlining.CodeTranslationVisitor. adviceMethod
The advice method.protected MethodDescription.InDefinedShape
Advice.Dispatcher.Resolved.AbstractBase. adviceMethod
The represented advice method.private MethodDescription.InDefinedShape
Advice.MethodSizeHandler.Default.ForAdvice. adviceMethod
The advice method.protected MethodDescription.InDefinedShape
Advice.StackMapFrameHandler.Default.ForAdvice. adviceMethod
The method description for which frames are translated.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Factory. ALL_ARGUMENTS_BOUND
TheMemberSubstitution.SelfCallHandle.bound()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_INCLUDE_SELF
A description of theAdvice.AllArguments.includeSelf()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_INCLUDE_SELF
TheMemberSubstitution.AllArguments.includeSelf()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_NULL_IF_EMPTY
A description of theAdvice.AllArguments.nullIfEmpty()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_NULL_IF_EMPTY
TheMemberSubstitution.AllArguments.nullIfEmpty()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_READ_ONLY
A description of theAdvice.AllArguments.readOnly()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_SOURCE
TheMemberSubstitution.AllArguments.source()
property.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Factory. ALL_ARGUMENTS_SOURCE
TheMemberSubstitution.SelfCallHandle.source()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_TYPING
A description of theAdvice.AllArguments.typing()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Factory. ALL_ARGUMENTS_TYPING
TheMemberSubstitution.AllArguments.typing()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForArgument.Unresolved.Factory. ARGUMENT_OPTIONAL
A description of theAdvice.Argument.optional()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Factory. ARGUMENT_OPTIONAL
TheMemberSubstitution.Argument.optional()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForArgument.Unresolved.Factory. ARGUMENT_READ_ONLY
A description of theAdvice.Argument.readOnly()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Factory. ARGUMENT_SOURCE
TheMemberSubstitution.Argument.source()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForArgument.Unresolved.Factory. ARGUMENT_TYPING
A description of theAdvice.Argument.typing()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Factory. ARGUMENT_TYPING
TheMemberSubstitution.Argument.typing()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForArgument.Unresolved.Factory. ARGUMENT_VALUE
A description of theAdvice.Argument.value()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Factory. ARGUMENT_VALUE
TheMemberSubstitution.Argument.value()
property.private static MethodDescription.InDefinedShape
Advice. BACKUP_ARGUMENTS
A reference to theAdvice.OnMethodExit.backupArguments()
method.private MethodDescription.InDefinedShape
Advice.Delegator.ForDynamicInvocation. bootstrapMethod
The bootstrap method.private MethodDescription.InDefinedShape
Advice.Delegator.ForDynamicInvocation.Factory. bootstrapMethod
The bootstrap method.private MethodDescription.InDefinedShape
Advice.OffsetMapping.ForStackManipulation.OfDynamicInvocation. bootstrapMethod
The bootstrap method or constructor.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation. bootstrapMethod
The bootstrap method.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Factory. bootstrapMethod
The bootstrap method.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Resolved. bootstrapMethod
The bootstrap method.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfDynamicInvocation. bootstrapMethod
The bootstrap method to use.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.Factory. CURRENT_TYPING
TheMemberSubstitution.Current.typing()
property.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues. delegate
The delegation target.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Resolved. delegate
The delegation target.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation. delegate
The delegation method.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Resolved. delegate
The delegation target.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Factory. delegate
A description of the method or constructor to delegate to.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForEnterValue.Factory. ENTER_READ_ONLY
A description of theAdvice.Argument.readOnly()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForEnterValue.Factory. ENTER_TYPING
A description of theAdvice.Argument.typing()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForExitValue.Factory. EXIT_READ_ONLY
A description of theAdvice.Exit.readOnly()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForExitValue.Factory. EXIT_TYPING
A description of theAdvice.Exit.typing()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForField. FIELD_DECLARING_TYPE
TheAdvice.FieldValue.declaringType()
} method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForFieldHandle.Unresolved.ReaderFactory. FIELD_GETTER_HANDLE_DECLARING_TYPE
TheAdvice.FieldGetterHandle.declaringType()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.GetterFactory. FIELD_GETTER_HANDLE_DECLARING_TYPE
private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForFieldHandle.Unresolved.ReaderFactory. FIELD_GETTER_HANDLE_VALUE
TheAdvice.FieldGetterHandle.value()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.GetterFactory. FIELD_GETTER_HANDLE_VALUE
TheMemberSubstitution.FieldGetterHandle.value()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForField. FIELD_READ_ONLY
TheAdvice.FieldValue.readOnly()
} method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForFieldHandle.Unresolved.WriterFactory. FIELD_SETTER_HANDLE_DECLARING_TYPE
TheAdvice.FieldSetterHandle.declaringType()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.SetterFactory. FIELD_SETTER_HANDLE_DECLARING_TYPE
private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForFieldHandle.Unresolved.WriterFactory. FIELD_SETTER_HANDLE_VALUE
TheAdvice.FieldSetterHandle.value()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.SetterFactory. FIELD_SETTER_HANDLE_VALUE
TheMemberSubstitution.FieldGetterHandle.value()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForField. FIELD_TYPING
TheAdvice.FieldValue.typing()
} method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForField. FIELD_VALUE
TheAdvice.FieldValue.value()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField. FIELD_VALUE_DECLARING_TYPE
TheMemberSubstitution.FieldValue.declaringType()
property.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField. FIELD_VALUE_TYPING
TheMemberSubstitution.FieldValue.typing()
property.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField. FIELD_VALUE_VALUE
TheMemberSubstitution.FieldValue.value()
property.private static MethodDescription.InDefinedShape
Advice. INLINE_ENTER
A reference to theAdvice.OnMethodEnter.inline()
method.private static MethodDescription.InDefinedShape
Advice. INLINE_EXIT
A reference to theAdvice.OnMethodExit.inline()
method.protected static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForLocalValue.Factory. LOCAL_VALUE
A description of theAdvice.Local.value()
method.private static MethodDescription.InDefinedShape
Advice. ON_THROWABLE
A reference to theAdvice.OnMethodExit.onThrowable()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Factory. ORIGIN_TYPE
TheMemberSubstitution.Origin.source()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForOrigin.Factory. ORIGIN_VALUE
A description of theAdvice.Origin.value()
method.private static MethodDescription.InDefinedShape
Advice. PREPEND_LINE_NUMBER
A reference to theAdvice.OnMethodEnter.prependLineNumber()
method.private MethodDescription.InDefinedShape
Advice.OffsetMapping.ForStackManipulation.OfAnnotationProperty. property
The annotation property.private MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfAnnotationProperty. property
The annotation property to resolve.private static MethodDescription.InDefinedShape
Advice. REPEAT_ON
A reference to theAdvice.OnMethodExit.repeatOn()
method.private static MethodDescription.InDefinedShape
Advice. REPEAT_ON_INDEX
A reference to theAdvice.OnMethodExit.repeatOnIndex()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForReturnValue.Factory. RETURN_READ_ONLY
A description of theAdvice.Return.readOnly()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForReturnValue.Factory. RETURN_TYPING
A description of theAdvice.Return.typing()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForSelfCallHandle.Factory. SELF_CALL_HANDLE_BOUND
Thebound
property of theAdvice.SelfCallHandle
annotation.private static MethodDescription.InDefinedShape
Advice. SKIP_ON
A reference to theAdvice.OnMethodEnter.skipOn()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.Factory. SKIP_ON_DEFAULT_VALUE
A description of theAdvice.AssignReturned.AsScalar.skipOnDefaultValue()
method.private static MethodDescription.InDefinedShape
Advice. SKIP_ON_INDEX
A reference to theAdvice.OnMethodEnter.skipOnIndex()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory. STUB_VALUE_SOURCE
TheMemberSubstitution.StubValue.source()
property.private static MethodDescription.InDefinedShape
Advice. SUPPRESS_ENTER
A reference to theAdvice.OnMethodEnter.suppress()
method.private static MethodDescription.InDefinedShape
Advice. SUPPRESS_EXIT
A reference to theAdvice.OnMethodExit.suppress()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForThisReference.Factory. THIS_OPTIONAL
A description of theAdvice.This.optional()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Factory. THIS_OPTIONAL
TheMemberSubstitution.This.optional()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForThisReference.Factory. THIS_READ_ONLY
A description of theAdvice.This.readOnly()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Factory. THIS_SOURCE
TheMemberSubstitution.This.source()
reference.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForThisReference.Factory. THIS_TYPING
A description of theAdvice.This.typing()
method.private static MethodDescription.InDefinedShape
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Factory. THIS_TYPING
TheMemberSubstitution.This.typing()
property.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForThrowable.Factory. THROWN_READ_ONLY
A description of theAdvice.Thrown.readOnly()
method.private static MethodDescription.InDefinedShape
Advice.OffsetMapping.ForThrowable.Factory. THROWN_TYPING
A description of theAdvice.Thrown.typing()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToAllArguments.Handler.Factory. TO_ALL_ARGUMENTS_INDEX
A description of theAdvice.AssignReturned.ToAllArguments.index()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToAllArguments.Handler.Factory. TO_ALL_ARGUMENTS_TYPING
A description of theAdvice.AssignReturned.ToAllArguments.typing()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToArguments.Handler.Factory. TO_ARGUMENT_INDEX
A description of theAdvice.AssignReturned.ToArguments.ToArgument.index()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToArguments.Handler.Factory. TO_ARGUMENT_TYPING
A description of theAdvice.AssignReturned.ToArguments.ToArgument.typing()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToArguments.Handler.Factory. TO_ARGUMENT_VALUE
A description of theAdvice.AssignReturned.ToArguments.ToArgument.value()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToArguments.Handler.Factory. TO_ARGUMENTS_VALUE
A description of theAdvice.AssignReturned.ToArguments.value()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToFields.Handler.Factory. TO_FIELD_DECLARING_TYPE
A description of theAdvice.AssignReturned.ToFields.ToField.declaringType()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToFields.Handler.Factory. TO_FIELD_INDEX
A description of theAdvice.AssignReturned.ToFields.ToField.index()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToFields.Handler.Factory. TO_FIELD_TYPING
A description of theAdvice.AssignReturned.ToFields.ToField.typing()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToFields.Handler.Factory. TO_FIELD_VALUE
A description of theAdvice.AssignReturned.ToFields.ToField.value()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToFields.Handler.Factory. TO_FIELDS_VALUE
A description of theAdvice.AssignReturned.ToFields.value()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToReturned.Handler.Factory. TO_RETURNED_INDEX
A description of theAdvice.AssignReturned.ToReturned.index()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToReturned.Handler.Factory. TO_RETURNED_TYPING
A description of theAdvice.AssignReturned.ToReturned.typing()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToThis.Handler.Factory. TO_THIS_INDEX
A description of theAdvice.AssignReturned.ToThis.index()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToThis.Handler.Factory. TO_THIS_TYPING
A description of theAdvice.AssignReturned.ToThis.typing()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToThrown.Handler.Factory. TO_THROWN_INDEX
A description of theAdvice.AssignReturned.ToThrown.index()
method.private static MethodDescription.InDefinedShape
Advice.AssignReturned.ToThrown.Handler.Factory. TO_THROWN_TYPING
A description of theAdvice.AssignReturned.ToThrown.typing()
method.Methods in net.bytebuddy.asm with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bindDynamic(java.lang.Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, java.lang.Object... constant)
Binds the supplied annotation to a dynamically bootstrapped value.<T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bindDynamic(java.lang.Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, java.util.List<?> constants)
Binds the supplied annotation to a dynamically bootstrapped value.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bindDynamic(java.lang.Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, java.lang.Object... constant)
Binds the supplied annotation to a dynamically bootstrapped value.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bindDynamic(java.lang.Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, java.util.List<?> constants)
Binds the supplied annotation to a dynamically bootstrapped value.Advice.MethodSizeHandler.ForAdvice
Advice.MethodSizeHandler.Default. bindEnter(MethodDescription.InDefinedShape adviceMethod)
Binds a method size handler for the enter advice.Advice.MethodSizeHandler.ForAdvice
Advice.MethodSizeHandler.ForInstrumentedMethod. bindEnter(MethodDescription.InDefinedShape adviceMethod)
Binds a method size handler for the enter advice.Advice.MethodSizeHandler.ForAdvice
Advice.MethodSizeHandler.NoOp. bindEnter(MethodDescription.InDefinedShape adviceMethod)
Binds a method size handler for the enter advice.Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.Default. bindEnter(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the enter advice.Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.ForInstrumentedMethod. bindEnter(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the enter advice.Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.NoOp. bindEnter(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the enter advice.Advice.MethodSizeHandler.ForAdvice
Advice.MethodSizeHandler.Default.WithCopiedArguments. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds the method size handler for the exit advice.Advice.MethodSizeHandler.ForAdvice
Advice.MethodSizeHandler.Default.WithRetainedArguments. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds the method size handler for the exit advice.Advice.MethodSizeHandler.ForAdvice
Advice.MethodSizeHandler.ForInstrumentedMethod. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds the method size handler for the exit advice.Advice.MethodSizeHandler.ForAdvice
Advice.MethodSizeHandler.NoOp. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds the method size handler for the exit advice.Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.Default.Trivial. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the exit advice.Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.Default.WithPreservedArguments. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the exit advice.Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.ForInstrumentedMethod. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the exit advice.Advice.StackMapFrameHandler.ForAdvice
Advice.StackMapFrameHandler.NoOp. bindExit(MethodDescription.InDefinedShape adviceMethod)
Binds this meta data handler for the exit advice.<T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bindLambda(java.lang.Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface)
Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bindLambda(java.lang.Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface, MethodGraph.Compiler methodGraphCompiler)
Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bindLambda(java.lang.Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface)
Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bindLambda(java.lang.Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface, MethodGraph.Compiler methodGraphCompiler)
Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.Advice.WithCustomMapping
Advice.WithCustomMapping. bootstrap(MethodDescription.InDefinedShape bootstrap)
Defines the supplied method or constructor as a dynamic invocation bootstrap target for delegating advice methods.Advice.WithCustomMapping
Advice.WithCustomMapping. bootstrap(MethodDescription.InDefinedShape bootstrap, Advice.BootstrapArgumentResolver.Factory resolverFactory)
Defines the supplied method or constructor as a dynamic invocation bootstrap target for delegating advice methods.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bootstrap(MethodDescription.InDefinedShape bootstrap)
Defines the supplied method description as a dynamic invocation bootstrap target for delegating advice methods.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bootstrap(MethodDescription.InDefinedShape bootstrap, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Factory resolverFactory)
Defines the supplied method description as a dynamic invocation bootstrap target for delegating advice methods.private static Advice.Dispatcher.Unresolved
Advice. locate(java.lang.Class<? extends java.lang.annotation.Annotation> type, MethodDescription.InDefinedShape property, Advice.Dispatcher.Unresolved dispatcher, MethodDescription.InDefinedShape methodDescription, Advice.Delegator.Factory delegatorFactory)
Locates a dispatcher for the method if available.Advice.PostProcessor
Advice.AssignReturned.Factory. make(MethodDescription.InDefinedShape advice, boolean exit)
Creates a post processor for a given advice method.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.Handler.Factory. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends T> annotation)
Resolves a list of handlers for this factory.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.Handler.Factory.Simple. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends S> annotation)
Resolves a list of handlers for this factory.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.ToAllArguments.Handler.Factory. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToAllArguments> annotation)
Resolves a list of handlers for this factory.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.ToArguments.Handler.Factory. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToArguments> annotation)
Resolves a list of handlers for this factory.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.ToFields.Handler.Factory. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToFields> annotation)
Resolves a list of handlers for this factory.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.ToReturned.Handler.Factory. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToReturned> annotation)
Resolves a list of handlers for this factory.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.ToThis.Handler.Factory. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToThis> annotation)
Resolves a list of handlers for this factory.java.util.List<Advice.AssignReturned.Handler>
Advice.AssignReturned.ToThrown.Handler.Factory. make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToThrown> annotation)
Resolves a list of handlers for this factory.Advice.Delegator
Advice.Delegator.Factory. make(MethodDescription.InDefinedShape adviceMethod, boolean exit)
Resolves a delegator.Advice.Delegator
Advice.Delegator.ForDynamicInvocation.Factory. make(MethodDescription.InDefinedShape adviceMethod, boolean exit)
Resolves a delegator.Advice.Delegator
Advice.Delegator.ForRegularInvocation.Factory. make(MethodDescription.InDefinedShape adviceMethod, boolean exit)
Resolves a delegator.Advice.PostProcessor
Advice.PostProcessor.Factory.Compound. make(MethodDescription.InDefinedShape advice, boolean exit)
Creates a post processor for a given advice method.Advice.PostProcessor
Advice.PostProcessor.Factory. make(MethodDescription.InDefinedShape advice, boolean exit)
Creates a post processor for a given advice method.Advice.PostProcessor
Advice.PostProcessor.NoOp. make(MethodDescription.InDefinedShape advice, boolean exit)
Creates a post processor for a given advice method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Factory. make(MethodDescription.InDefinedShape delegate)
Creates a bootstrap argument resolver for a given delegation method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Factory. make(MethodDescription.InDefinedShape delegate)
Creates a bootstrap argument resolver for a given delegation method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory. make(MethodDescription.InDefinedShape delegate)
Creates a dispatcher for a given delegation method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Factory. make(MethodDescription.InDefinedShape delegate)
Creates a dispatcher for a given delegation method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory. make(MethodDescription.InDefinedShape delegate)
Creates a dispatcher for a given delegation method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<S> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<T> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.WithParameterSupportOnly. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<S> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.AllArguments> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.Argument> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.Current> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.FieldValue> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Resolved.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<T> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.GetterFactory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.FieldGetterHandle> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.SetterFactory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.FieldSetterHandle> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.Origin> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.SelfCallHandle> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfDefaultValue. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<T> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.StubValue> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Factory. make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.This> annotation)
Creates an offset mapping for an annotation that was found on a non-static method.protected static Advice.Delegator.Factory
Advice.Delegator.ForDynamicInvocation. of(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory)
Creates a new dynamic invocation delegator.protected static Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Delegating.Resolved.ForMethodEnter. of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, boolean methodExit)
Resolves enter advice that only exposes the enter type if this is necessary.protected static Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Delegating.Resolved.ForMethodExit. of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType)
Resolves exit advice that handles exceptions depending on the specification of the exit advice.protected static Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter. of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader, boolean methodExit)
Resolves enter advice that only exposes the enter type if this is necessary.protected static Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Inlining.Resolved.ForMethodExit. of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)
Resolves exit advice that handles exceptions depending on the specification of the exit advice.protected static Advice.OffsetMapping.Factory<?>
Advice.OffsetMapping.ForThrowable.Factory. of(MethodDescription.InDefinedShape adviceMethod)
Resolves an appropriate offset mapping factory for theAdvice.Thrown
parameter annotation.static Advice.OffsetMapping.Target
Advice.OffsetMapping.Target.ForStackManipulation. of(MethodDescription.InDefinedShape methodDescription)
Creates a target for aMethod
orConstructor
constant.protected static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation. of(MethodDescription.InDefinedShape bootstrapMethod, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Factory resolverFactory)
Creates a dispatcher factory for a dynamic method invocation.Advice.BootstrapArgumentResolver
Advice.BootstrapArgumentResolver.Factory. resolve(MethodDescription.InDefinedShape adviceMethod, boolean exit)
Creates a bootstrap argument resolver for a given advice.Advice.BootstrapArgumentResolver
Advice.BootstrapArgumentResolver.ForDefaultValues.Factory. resolve(MethodDescription.InDefinedShape adviceMethod, boolean exit)
Creates a bootstrap argument resolver for a given advice.protected abstract Advice.OffsetMapping.Target
Advice.OffsetMapping.ForInstrumentedMethod. resolve(MethodDescription.InDefinedShape methodDescription)
Resolves the target for a given method description.static MemberSubstitution.Substitution.Chain.Step.Factory
MemberSubstitution.Substitution.Chain.Step.ForDelegation. to(MethodDescription.InDefinedShape methodDescription)
Returns a delegating step factory for the supplied method description..private static MemberSubstitution.Substitution.Chain.Step.Factory
MemberSubstitution.Substitution.Chain.Step.ForDelegation. to(MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory dispatcherFactory, java.util.List<? extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<?>> userFactories)
Creates an appropriate step factory for the given delegate method, dispatcher factory and user factories.MemberSubstitution.Substitution.Chain.Step.Factory
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. to(MethodDescription.InDefinedShape methodDescription)
Returns a delegating step factory for the supplied method description.Constructors in net.bytebuddy.asm with parameters of type MethodDescription.InDefinedShape Constructor Description AbstractBase(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new resolved version of a dispatcher.AdviceMethodWriter(MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, java.util.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.CodeTranslationVisitor(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, java.util.Map<java.lang.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.Delegating(MethodDescription.InDefinedShape adviceMethod, Advice.Delegator.Factory delegatorFactory)
Creates a new delegating advice dispatcher.Factory(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory)
Creates a factory for a dynamic invocation dispatcher.Factory(MethodDescription.InDefinedShape bootstrapMethod, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Factory resolverFactory)
Creates a new factory for a dispatcher using a dynamic method invocation.Factory(MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher dispatcher, java.util.List<? extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<?>> factories)
Creates a new factory for a delegating step.ForAdvice(MethodDescription.InDefinedShape adviceMethod, int baseLocalVariableLength)
Creates a default method size handler for an advice method.ForAdvice(MethodDescription.InDefinedShape adviceMethod, java.util.List<? extends TypeDescription> startTypes, java.util.List<? extends TypeDescription> intermediateTypes, java.util.List<? extends TypeDescription> endTypes, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, Advice.StackMapFrameHandler.Default.Initialization initialization)
Creates a new meta data handler for an advice method.ForDefaultValues(MethodDescription.InDefinedShape adviceMethod, boolean exit)
Creates a bootstrap argument resolver with default values.ForDefaultValues(MethodDescription.InDefinedShape delegate)
Creates a default bootstrap argument resolver.ForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.InDefinedShape adviceMethod, Advice.BootstrapArgumentResolver resolver)
Creates a delegator for a dynamic method invocation.ForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver resolver)
Creates a dispatcher for a dynamic method invocation.ForMethodEnter(MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, java.util.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.ForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator)
Creates a new resolved dispatcher for implementing method enter advice.ForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice.ForMethodExit(MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, java.util.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.ForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator)
Creates a new resolved dispatcher for implementing method exit advice.ForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)
Creates a new resolved dispatcher for implementing method exit advice.ForRegularInvocation(MethodDescription.InDefinedShape adviceMethod)
Creates a delegator for a regular invocation.Inlining(MethodDescription.InDefinedShape adviceMethod)
Creates a dispatcher for inlined advice method.OfAnnotationProperty(java.lang.Class<T> annotationType, MethodDescription.InDefinedShape property)
Creates a factory for binding an annotation property.OfAnnotationProperty(java.lang.Class<T> annotationType, MethodDescription.InDefinedShape property)
Creates a factory for assigning an annotation property to the annotated parameter.OfDynamicInvocation(java.lang.Class<T> annotationType, MethodDescription.InDefinedShape bootstrapMethod, java.util.List<? extends JavaConstant> arguments)
Creates a new factory for a dynamic invocation.OfDynamicInvocation(java.lang.Class<T> annotationType, MethodDescription.InDefinedShape bootstrapMethod, java.util.List<? extends JavaConstant> arguments)
Creates a factory for an offset mapping that assigns the result of a dynamic method invocation.Resolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.Delegator delegator)
Creates a new resolved version of a dispatcher.Resolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, AsmClassReader classReader)
Creates a new resolved version of a dispatcher.Resolved(MethodDescription.InDefinedShape delegate, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Creates a resolved version of a bootstrap argument resolver.Resolved(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Resolved resolver)
Creates a resolved dispatcher of a dynamic method dispatcher.WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator)
Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, TypeDescription throwable, Advice.Delegator delegator)
Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType, TypeDescription throwable)
Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator)
Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)
Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator)
Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.build
-
Uses of MethodDescription.InDefinedShape in net.bytebuddy.description
Methods in net.bytebuddy.description with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description TypeVariableSource
TypeVariableSource.Visitor.NoOp. onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method.T
TypeVariableSource.Visitor. onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.description.annotation
Fields in net.bytebuddy.description.annotation declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
AnnotationValue.ForMismatchedType. property
The property that does not defines a non-matching value.private static MethodDescription.InDefinedShape
AnnotationDescription.AbstractBase. RETENTION_VALUE
A description of theRetention.value()
method.private static MethodDescription.InDefinedShape
AnnotationDescription.AbstractBase. TARGET_VALUE
A description of theTarget.value()
method.Methods in net.bytebuddy.description.annotation with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description AnnotationValue<U,V>
AnnotationValue.AbstractBase. filter(MethodDescription.InDefinedShape property)
Filters this annotation value as a valid value of the provided property.AnnotationValue<T,S>
AnnotationValue. filter(MethodDescription.InDefinedShape property)
Filters this annotation value as a valid value of the provided property.AnnotationValue<T,S>
AnnotationValue. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<AnnotationDescription,U>
AnnotationValue.ForAnnotationDescription. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,U>
AnnotationValue.ForConstant. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForDescriptionArray. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<EnumerationDescription,U>
AnnotationValue.ForEnumerationDescription. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<EnumerationDescription,U>
AnnotationValue.ForEnumerationDescription.WithUnknownConstant. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForIncompatibleType. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForMismatchedType. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForMissingType. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<U,V>
AnnotationValue.ForMissingValue. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<TypeDescription,U>
AnnotationValue.ForTypeDescription. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<?,?>
AnnotationDescription.ForLoadedAnnotation. getValue(MethodDescription.InDefinedShape property)
Returns a value of this annotation.AnnotationValue<?,?>
AnnotationDescription. getValue(MethodDescription.InDefinedShape property)
Returns a value of this annotation.AnnotationValue<?,?>
AnnotationDescription.Latent. getValue(MethodDescription.InDefinedShape property)
Returns a value of this annotation.AnnotationValue<?,?>
AnnotationDescription.Latent.Loadable. getValue(MethodDescription.InDefinedShape property)
Returns a value of this annotation.Constructors in net.bytebuddy.description.annotation with parameters of type MethodDescription.InDefinedShape Constructor Description ForMismatchedType(MethodDescription.InDefinedShape property, java.lang.String value)
Creates an annotation description for a mismatched type. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.description.method
Classes in net.bytebuddy.description.method that implement MethodDescription.InDefinedShape Modifier and Type Class Description static class
MethodDescription.ForLoadedConstructor
An implementation of a method description for a loaded constructor.static class
MethodDescription.ForLoadedMethod
An implementation of a method description for a loaded method.static class
MethodDescription.InDefinedShape.AbstractBase
An abstract base implementation of a method description in its defined shape.protected static class
MethodDescription.InDefinedShape.AbstractBase.ForLoadedExecutable<T extends java.lang.reflect.AnnotatedElement>
A base implementation for a loaded instance representation for ajava.lang.reflect.Executable
.static class
MethodDescription.Latent
A latent method description describes a method that is not attached to a declaringTypeDescription
.static class
MethodDescription.Latent.TypeInitializer
A method description that represents the type initializer.Fields in net.bytebuddy.description.method declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
ParameterDescription.Latent. declaringMethod
The method that is declaring the parameter.private MethodDescription.InDefinedShape
ParameterList.ForTokens. declaringMethod
The method that is declaring the represented token.private MethodDescription.InDefinedShape
ParameterList.Explicit.ForTypes. methodDescription
The method description that declares the parameters.static MethodDescription.InDefinedShape
MethodDescription. UNDEFINED
Represents any undefined property of a type description that is instead represented asnull
in order to resemble the Java reflection API which returnsnull
and is intuitive to many Java developers.Methods in net.bytebuddy.description.method that return MethodDescription.InDefinedShape Modifier and Type Method Description MethodDescription.InDefinedShape
MethodDescription.InDefinedShape.AbstractBase. asDefined()
Returns this type dependant in its defined shape, i.e.MethodDescription.InDefinedShape
MethodDescription.TypeSubstituting. asDefined()
Returns this type dependant in its defined shape, i.e.MethodDescription.InDefinedShape
MethodList.ForLoadedMethods. get(int index)
MethodDescription.InDefinedShape
MethodList.ForTokens. get(int index)
MethodDescription.InDefinedShape
ParameterDescription.ForLoadedParameter.OfConstructor. getDeclaringMethod()
Returns the method that declares this parameter.MethodDescription.InDefinedShape
ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor. getDeclaringMethod()
Returns the method that declares this parameter.MethodDescription.InDefinedShape
ParameterDescription.ForLoadedParameter.OfLegacyVmMethod. getDeclaringMethod()
Returns the method that declares this parameter.MethodDescription.InDefinedShape
ParameterDescription.ForLoadedParameter.OfMethod. getDeclaringMethod()
Returns the method that declares this parameter.MethodDescription.InDefinedShape
ParameterDescription.InDefinedShape. getDeclaringMethod()
Returns the method that declares this parameter.MethodDescription.InDefinedShape
ParameterDescription.Latent. getDeclaringMethod()
Returns the method that declares this parameter.Methods in net.bytebuddy.description.method that return types with arguments of type MethodDescription.InDefinedShape Modifier and Type Method Description MethodList<MethodDescription.InDefinedShape>
MethodList.AbstractBase. asDefined()
Returns this list of these method descriptions resolved to their defined shape.MethodList<MethodDescription.InDefinedShape>
MethodList. asDefined()
Returns this list of these method descriptions resolved to their defined shape.MethodList<MethodDescription.InDefinedShape>
MethodList.Empty. asDefined()
Returns this list of these method descriptions resolved to their defined shape.Constructors in net.bytebuddy.description.method with parameters of type MethodDescription.InDefinedShape Constructor Description ForTokens(MethodDescription.InDefinedShape declaringMethod, java.util.List<? extends ParameterDescription.Token> tokens)
Creates a new parameter list for the provided tokens.ForTypes(MethodDescription.InDefinedShape methodDescription, java.util.List<? extends TypeDefinition> typeDefinitions)
Creates a new parameter type list.ForTypes(MethodDescription.InDefinedShape methodDescription, TypeDefinition... typeDefinition)
Creates a new parameter type list.Latent(MethodDescription.InDefinedShape declaringMethod, ParameterDescription.Token token, int index, int offset)
Creates a latent parameter description.Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, int index, int offset)
Creates a new latent parameter descriptions for a parameter without explicit meta data or annotations.Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, java.util.List<? extends AnnotationDescription> declaredAnnotations, java.lang.String name, java.lang.Integer modifiers, int index, int offset)
Creates a latent parameter description. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return MethodDescription.InDefinedShape Modifier and Type Method Description MethodDescription.InDefinedShape
RecordComponentDescription.ForLoadedRecordComponent. getAccessor()
MethodDescription.InDefinedShape
RecordComponentDescription.InDefinedShape.AbstractBase. getAccessor()
Returns the accessor for this record component.MethodDescription.InDefinedShape
RecordComponentDescription.InDefinedShape. getAccessor()
Returns the accessor for this record component.MethodDescription.InDefinedShape
TypeDescription.AbstractBase.OfSimpleType.WithDelegation. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
TypeDescription.ArrayProjection. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
TypeDescription.ForLoadedType. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
TypeDescription.ForPackageDescription. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
TypeDescription. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
TypeDescription.Latent. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
TypeDescription.SuperTypeLoading. getEnclosingMethod()
Returns a description of the method that encloses this type.Methods in net.bytebuddy.description.type that return types with arguments of type MethodDescription.InDefinedShape Modifier and Type Method Description MethodList<MethodDescription.InDefinedShape>
TypeDescription.AbstractBase.OfSimpleType.WithDelegation. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.ArrayProjection. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.ForLoadedType. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.ForPackageDescription. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.Latent. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.SuperTypeLoading. getDeclaredMethods()
Returns the methods that this type declares.Methods in net.bytebuddy.description.type with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description TypeDescription.Generic
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor. onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
DynamicType.Builder.AbstractBase.Adapter.InnerTypeDefinitionForMethodAdapter. methodDescription
A description of the declaring method or constructor.private MethodDescription.InDefinedShape
Transformer.ForMethod.TransformedMethod. methodDescription
The defined shape of the transformed method.Methods in net.bytebuddy.dynamic that return MethodDescription.InDefinedShape Modifier and Type Method Description MethodDescription.InDefinedShape
Transformer.ForMethod.TransformedMethod. asDefined()
Returns this type dependant in its defined shape, i.e.Methods in net.bytebuddy.dynamic with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description DynamicType.Builder.InnerTypeDefinition<U>
DynamicType.Builder.AbstractBase.Adapter. innerTypeOf(MethodDescription.InDefinedShape methodDescription)
Defines this type as an inner type that was declared within the supplied method or constructor.DynamicType.Builder.InnerTypeDefinition<U>
DynamicType.Builder.AbstractBase.Delegator. innerTypeOf(MethodDescription.InDefinedShape methodDescription)
Defines this type as an inner type that was declared within the supplied method or constructor.DynamicType.Builder.InnerTypeDefinition<T>
DynamicType.Builder. innerTypeOf(MethodDescription.InDefinedShape methodDescription)
Defines this type as an inner type that was declared within the supplied method or constructor.Constructors in net.bytebuddy.dynamic with parameters of type MethodDescription.InDefinedShape Constructor Description InnerTypeDefinitionForMethodAdapter(MethodDescription.InDefinedShape methodDescription)
Creates a new adapter for defining a type that is declared within a method or constructor.TransformedMethod(TypeDescription instrumentedType, TypeDefinition declaringType, MethodDescription.Token token, MethodDescription.InDefinedShape methodDescription)
Creates a new transformed method. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement MethodDescription.InDefinedShape Modifier and Type Class Description protected static class
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge
A method representing an accessor bridge method.protected static class
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget
A method representing a bridge's target method in its defined shape.protected static class
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge
A method describing a visibility bridge.Fields in net.bytebuddy.dynamic.scaffold declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
InstrumentedType.Default. enclosingMethod
The enclosing method of the instrumented type ornull
if no such type exists.Methods in net.bytebuddy.dynamic.scaffold that return MethodDescription.InDefinedShape Modifier and Type Method Description MethodDescription.InDefinedShape
InstrumentedType.Default. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
InstrumentedType.Frozen. getEnclosingMethod()
Returns a description of the method that encloses this type.Methods in net.bytebuddy.dynamic.scaffold that return types with arguments of type MethodDescription.InDefinedShape Modifier and Type Method Description MethodList<MethodDescription.InDefinedShape>
InstrumentedType.Default. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
InstrumentedType.Frozen. getDeclaredMethods()
Returns the methods that this type declares.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description protected MethodGraph.Compiler.Default.Key.Harmonized<V>
MethodGraph.Compiler.Default.Key.Harmonized. extend(MethodDescription.InDefinedShape methodDescription, MethodGraph.Compiler.Default.Harmonizer<V> harmonizer)
Extends this key by the given method description.InstrumentedType.WithFlexibleName
InstrumentedType.Default. withEnclosingMethod(MethodDescription.InDefinedShape enclosingMethod)
Creates a new instrumented type with the supplied enclosing method.InstrumentedType.WithFlexibleName
InstrumentedType.Frozen. withEnclosingMethod(MethodDescription.InDefinedShape enclosingMethod)
Creates a new instrumented type with the supplied enclosing method.InstrumentedType
InstrumentedType. withEnclosingMethod(MethodDescription.InDefinedShape enclosingMethod)
Creates a new instrumented type with the supplied enclosing method.InstrumentedType.WithFlexibleName
InstrumentedType.WithFlexibleName. withEnclosingMethod(MethodDescription.InDefinedShape enclosingMethod)
Creates a new instrumented type with the supplied enclosing method.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescription.InDefinedShape Constructor Description Default(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeVariableToken> typeVariables, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.Map<java.lang.String,java.lang.Object> auxiliaryFieldValues, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, java.util.List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, java.util.List<? extends TypeDescription> nestMembers)
Creates a new instrumented type. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.dynamic.scaffold.inline
Classes in net.bytebuddy.dynamic.scaffold.inline that implement MethodDescription.InDefinedShape Modifier and Type Class Description protected static class
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor
An description of a rebased constructor.protected static class
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod
A description of a rebased method.Fields in net.bytebuddy.dynamic.scaffold.inline declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.ForRebasedConstructor. methodDescription
The rebased constructor.private MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor. methodDescription
The constructor that is rebased.private MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.ForRebasedMethod. methodDescription
The rebased method.private MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod. methodDescription
The method that is being rebased.private MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.Preserved. methodDescription
The preserved method.private MethodDescription.InDefinedShape
RebaseImplementationTarget.RebasedMethodInvocation. methodDescription
The method to invoke via a special method invocation.Fields in net.bytebuddy.dynamic.scaffold.inline with type parameters of type MethodDescription.InDefinedShape Modifier and Type Field Description private java.util.Map<MethodDescription.InDefinedShape,MethodRebaseResolver.Resolution>
MethodRebaseResolver.Default. resolutions
A mapping of rebased methods to their existing resolutions.Methods in net.bytebuddy.dynamic.scaffold.inline that return MethodDescription.InDefinedShape Modifier and Type Method Description MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.ForRebasedConstructor. getResolvedMethod()
Returns the resolved method if this resolution represents a rebased method or the original method.MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.ForRebasedMethod. getResolvedMethod()
Returns the resolved method if this resolution represents a rebased method or the original method.MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution. getResolvedMethod()
Returns the resolved method if this resolution represents a rebased method or the original method.MethodDescription.InDefinedShape
MethodRebaseResolver.Resolution.Preserved. getResolvedMethod()
Returns the resolved method if this resolution represents a rebased method or the original method.Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description DynamicType.Builder.InnerTypeDefinition<T>
DecoratingDynamicTypeBuilder. innerTypeOf(MethodDescription.InDefinedShape methodDescription)
Defines this type as an inner type that was declared within the supplied method or constructor.static MethodRebaseResolver.Resolution
MethodRebaseResolver.Resolution.ForRebasedConstructor. of(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType)
Resolves a constructor rebasement.static MethodRebaseResolver.Resolution
MethodRebaseResolver.Resolution.ForRebasedMethod. of(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer)
Resolves a rebasement for the provided method.protected static Implementation.SpecialMethodInvocation
RebaseImplementationTarget.RebasedMethodInvocation. of(MethodDescription.InDefinedShape resolvedMethod, TypeDescription instrumentedType, TypeList prependedParameters)
Creates a special method invocation for the given method.MethodRebaseResolver.Resolution
MethodRebaseResolver.Default. resolve(MethodDescription.InDefinedShape methodDescription)
Checks if a method is eligible for rebasing and resolves this possibly rebased method.MethodRebaseResolver.Resolution
MethodRebaseResolver.Disabled. resolve(MethodDescription.InDefinedShape methodDescription)
Checks if a method is eligible for rebasing and resolves this possibly rebased method.MethodRebaseResolver.Resolution
MethodRebaseResolver. resolve(MethodDescription.InDefinedShape methodDescription)
Checks if a method is eligible for rebasing and resolves this possibly rebased method.Constructors in net.bytebuddy.dynamic.scaffold.inline with parameters of type MethodDescription.InDefinedShape Constructor Description ForRebasedConstructor(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType)
Creates a new resolution for a rebased constructor.ForRebasedMethod(MethodDescription.InDefinedShape methodDescription)
Creates a resolution for a rebased method.Preserved(MethodDescription.InDefinedShape methodDescription)
Creates a newMethodRebaseResolver.Resolution
for a non-rebased method.RebasedConstructor(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType)
Creates a new rebased constructor.RebasedMethod(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer)
Creates a new rebased method.RebasedMethodInvocation(MethodDescription.InDefinedShape methodDescription, TypeDescription instrumentedType, StackManipulation stackManipulation, TypeList prependedParameters)
Creates a new rebased method invocation.Constructor parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type MethodDescription.InDefinedShape Constructor Description Default(java.util.Map<MethodDescription.InDefinedShape,MethodRebaseResolver.Resolution> resolutions, java.util.List<DynamicType> dynamicTypes)
Creates a new default method rebased resolver. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement MethodDescription.InDefinedShape Modifier and Type Class Description protected static class
Implementation.Context.Default.AbstractPropertyAccessorMethod
A base implementation of a method that accesses a property of an instrumented type.protected static class
Implementation.Context.Default.AccessorMethod
A description of an accessor method to access another method from outside the instrumented type.protected static class
Implementation.Context.Default.FieldGetter
A description of a field getter method.protected static class
Implementation.Context.Default.FieldSetter
A description of a field setter method.Fields in net.bytebuddy.implementation declared as MethodDescription.InDefinedShape Modifier and Type Field Description protected MethodDescription.InDefinedShape
InvokeDynamic. bootstrap
The bootstrap method.private static MethodDescription.InDefinedShape
EqualsMethod. EQUALS
TheObject.equals(Object)
method.protected static MethodDescription.InDefinedShape
EqualsMethod.TypeCompatibilityCheck. GET_CLASS
TheObject.getClass()
method.private static MethodDescription.InDefinedShape
HashCodeMethod. GET_CLASS
TheObject.getClass()
method.private static MethodDescription.InDefinedShape
HashCodeMethod. HASH_CODE
TheObject.hashCode()
method.protected MethodDescription.InDefinedShape
Implementation.Context.Default.DelegationRecord. methodDescription
The delegation method.private static MethodDescription.InDefinedShape
ToStringMethod. STRING_BUILDER_CONSTRUCTOR
TheStringBuilder(String)
constructor.private static MethodDescription.InDefinedShape
ToStringMethod. TO_STRING
TheStringBuilder.toString()
method.Methods in net.bytebuddy.implementation that return MethodDescription.InDefinedShape Modifier and Type Method Description MethodDescription.InDefinedShape
Implementation.Context.Default.DelegationRecord. getMethod()
Returns the method that is implemented where the returned method resembles a potential transformation.MethodDescription.InDefinedShape
Implementation.Context.Default. registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType)
Registers an accessor method for aImplementation.SpecialMethodInvocation
which cannot itself be triggered invoked directly from outside a type.MethodDescription.InDefinedShape
Implementation.Context.Disabled. registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType)
Registers an accessor method for aImplementation.SpecialMethodInvocation
which cannot itself be triggered invoked directly from outside a type.MethodDescription.InDefinedShape
MethodAccessorFactory.Illegal. registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType)
Registers an accessor method for aImplementation.SpecialMethodInvocation
which cannot itself be triggered invoked directly from outside a type.MethodDescription.InDefinedShape
MethodAccessorFactory. registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType)
Registers an accessor method for aImplementation.SpecialMethodInvocation
which cannot itself be triggered invoked directly from outside a type.MethodDescription.InDefinedShape
Implementation.Context.Default. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a getter for the givenFieldDescription
which might itself not be accessible from outside the class.MethodDescription.InDefinedShape
Implementation.Context.Disabled. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a getter for the givenFieldDescription
which might itself not be accessible from outside the class.MethodDescription.InDefinedShape
MethodAccessorFactory.Illegal. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a getter for the givenFieldDescription
which might itself not be accessible from outside the class.MethodDescription.InDefinedShape
MethodAccessorFactory. registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a getter for the givenFieldDescription
which might itself not be accessible from outside the class.MethodDescription.InDefinedShape
Implementation.Context.Default. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a setter for the givenFieldDescription
which might itself not be accessible from outside the class.MethodDescription.InDefinedShape
Implementation.Context.Disabled. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a setter for the givenFieldDescription
which might itself not be accessible from outside the class.MethodDescription.InDefinedShape
MethodAccessorFactory.Illegal. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a setter for the givenFieldDescription
which might itself not be accessible from outside the class.MethodDescription.InDefinedShape
MethodAccessorFactory. registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType)
Registers a setter for the givenFieldDescription
which might itself not be accessible from outside the class.Methods in net.bytebuddy.implementation with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description static InvokeDynamic.WithImplicitTarget
InvokeDynamic. bootstrap(MethodDescription.InDefinedShape bootstrap, java.lang.Object... constant)
Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method or constructor.static InvokeDynamic.WithImplicitTarget
InvokeDynamic. bootstrap(MethodDescription.InDefinedShape bootstrap, java.util.List<?> constants)
Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method or constructor.static InvokeDynamic.WithImplicitArguments
InvokeDynamic. lambda(MethodDescription.InDefinedShape methodDescription, TypeDefinition functionalInterface)
Creates a lambda expression using the JVM's lambda meta factory.static InvokeDynamic.WithImplicitArguments
InvokeDynamic. lambda(MethodDescription.InDefinedShape methodDescription, TypeDefinition functionalInterface, MethodGraph.Compiler methodGraphCompiler)
Creates a lambda expression using the JVM's lambda meta factory.Constructors in net.bytebuddy.implementation with parameters of type MethodDescription.InDefinedShape Constructor Description AbstractDelegator(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing)
Creates a new abstract delegator for a dynamic method invocation.AccessorMethodDelegation(MethodDescription.InDefinedShape methodDescription, Visibility visibility, StackManipulation accessorMethodInvocation)
Creates a delegation to an accessor method.DelegationRecord(MethodDescription.InDefinedShape methodDescription, Visibility visibility)
Creates a new delegation record.FieldGetterDelegation(MethodDescription.InDefinedShape methodDescription, Visibility visibility, FieldDescription fieldDescription)
Creates a new field getter implementation.FieldSetterDelegation(MethodDescription.InDefinedShape methodDescription, Visibility visibility, FieldDescription fieldDescription)
Creates a new field setter.InvokeDynamic(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing)
Creates a new invoke dynamic implementation.OfArgument(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, int index)
Creates a new invoke dynamic instance with an implicit field type for the provided value.OfField(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, java.lang.String fieldName, FieldLocator.Factory fieldLocatorFactory)
Creates a new abstract delegator for a dynamic method invocation where the last argument is assigned an implicit type.OfInstance(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, java.lang.Object value)
Creates a new invoke dynamic instance with an implicit field type for the provided value.WithImplicitArguments(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing)
Creates a new dynamic method invocation with implicit arguments.WithImplicitTarget(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing)
Creates a new dynamic method invocation with implicit arguments and an implicit invocation target.WithImplicitType(MethodDescription.InDefinedShape bootstrap, java.util.List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing)
Creates a new abstract delegator for a dynamic method invocation where the last argument is assigned an implicit type. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.implementation.attribute
Methods in net.bytebuddy.implementation.attribute with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description boolean
AnnotationValueFilter. isRelevant(AnnotationDescription annotationDescription, MethodDescription.InDefinedShape methodDescription)
Checks if the given annotation value should be written as the value of the provided annotation property. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.implementation.auxiliary
Fields in net.bytebuddy.implementation.auxiliary declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
TypeProxy.ForSuperMethodByConstructor. constructor
The constructor to invoke to create the proxy.private static MethodDescription.InDefinedShape
PrivilegedMemberLookupAction. DEFAULT_CONSTRUCTOR
The default constructor of theObject
class.private MethodDescription.InDefinedShape
PrivilegedMemberLookupAction. methodDescription
The method to invoke from the action.Constructors in net.bytebuddy.implementation.auxiliary with parameters of type MethodDescription.InDefinedShape Constructor Description ForSuperMethodByConstructor(TypeDescription proxiedType, MethodDescription.InDefinedShape constructor, Implementation.Target implementationTarget, boolean ignoreFinalizer, boolean serializableProxy)
Creates a new stack operation for creating a type proxy by calling one of its constructors. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.implementation.bind.annotation
Fields in net.bytebuddy.implementation.bind.annotation declared as MethodDescription.InDefinedShape Modifier and Type Field Description private static MethodDescription.InDefinedShape
Argument.Binder. BINDING_MECHANIC
A description of theArgument.bindingMechanic()
method.private static MethodDescription.InDefinedShape
Origin.Binder. CACHE
A description of theOrigin.cache()
method.private static MethodDescription.InDefinedShape
DefaultMethod.Binder. CACHED
TheDefaultMethod.cached()
property.private static MethodDescription.InDefinedShape
SuperMethod.Binder. CACHED
A description of theSuperMethod.cached()
method.private static MethodDescription.InDefinedShape
Super.Instantiation. CONSTRUCTOR_PARAMETERS
A reference to the constructor parameters method.private static MethodDescription.InDefinedShape
Super.Instantiation. CONSTRUCTOR_RESOLVER
A reference to the constructor parameters resolver method.private static MethodDescription.InDefinedShape
FieldGetterHandle.Binder. DECLARING_TYPE
The annotation method that for the defining type.private static MethodDescription.InDefinedShape
FieldProxy.Binder. DECLARING_TYPE
A reference to the method that declares the field annotation's defining type property.private static MethodDescription.InDefinedShape
FieldSetterHandle.Binder. DECLARING_TYPE
The annotation method that for the defining type.private static MethodDescription.InDefinedShape
FieldValue.Binder. DECLARING_TYPE
The annotation method that for the defining type.private static MethodDescription.InDefinedShape
Morph.Binder. DEFAULT_METHOD
A reference to the default method method.private static MethodDescription.InDefinedShape
Morph.Binder. DEFAULT_TARGET
A reference to the default target method.private static MethodDescription.InDefinedShape
SuperCall.Binder. FALLBACK_TO_DEFAULT
A description of theSuperCall.fallbackToDefault()
method.private static MethodDescription.InDefinedShape
SuperCallHandle.Binder. FALLBACK_TO_DEFAULT
A description of theSuperCallHandle.fallbackToDefault()
method.private static MethodDescription.InDefinedShape
SuperMethod.Binder. FALLBACK_TO_DEFAULT
A description of theSuperMethod.fallbackToDefault()
method.private static MethodDescription.InDefinedShape
SuperMethodHandle.Binder. FALLBACK_TO_DEFAULT
A description of theSuperMethodHandle.fallbackToDefault()
method.private static MethodDescription.InDefinedShape
FieldGetterHandle.Binder. FIELD_NAME
The annotation method for the field's name.private static MethodDescription.InDefinedShape
FieldProxy.Binder. FIELD_NAME
A reference to the method that declares the field annotation's field name property.private static MethodDescription.InDefinedShape
FieldSetterHandle.Binder. FIELD_NAME
The annotation method for the field's name.private static MethodDescription.InDefinedShape
FieldValue.Binder. FIELD_NAME
The annotation method for the field's name.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.Factory.Duplex. getterMethod
The getter method.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.Factory.Simplex. getterMethod
The getter method.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.ForGetter. getterMethod
The getter method.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.ForGetterSetterPair. getterMethod
The getter method.private static MethodDescription.InDefinedShape
Super.Instantiation. IGNORE_FINALIZER
A reference to the ignore finalizer method.private static MethodDescription.InDefinedShape
AllArguments.Binder. INCLUDE_SELF
A description of theAllArguments.includeSelf()
method.private static MethodDescription.InDefinedShape
AllArguments.Binder. NULL_IF_EMPTY
A description of theAllArguments.nullIfEmpty()
method.private static MethodDescription.InDefinedShape
DefaultCall.Binder. NULL_IF_IMPOSSIBLE
A reference to the null if possible method of the default call annotation.private static MethodDescription.InDefinedShape
DefaultCallHandle.Binder. NULL_IF_IMPOSSIBLE
A reference to the null if possible method of the default call annotation.private static MethodDescription.InDefinedShape
DefaultMethod.Binder. NULL_IF_IMPOSSIBLE
TheDefaultMethod.nullIfImpossible()
property.private static MethodDescription.InDefinedShape
DefaultMethodHandle.Binder. NULL_IF_IMPOSSIBLE
TheDefaultMethodHandle.nullIfImpossible()
property.private static MethodDescription.InDefinedShape
SuperCall.Binder. NULL_IF_IMPOSSIBLE
A description of theSuperCall.nullIfImpossible()
method.private static MethodDescription.InDefinedShape
SuperCallHandle.Binder. NULL_IF_IMPOSSIBLE
A description of theSuperCallHandle.nullIfImpossible()
method.private static MethodDescription.InDefinedShape
SuperMethod.Binder. NULL_IF_IMPOSSIBLE
A description of theSuperMethod.nullIfImpossible()
method.private static MethodDescription.InDefinedShape
SuperMethodHandle.Binder. NULL_IF_IMPOSSIBLE
A description of theSuperMethodHandle.nullIfImpossible()
method.private MethodDescription.InDefinedShape
Pipe.Binder.RedirectionProxy.ConstructorCall. objectTypeDefaultConstructor
A reference of theObject
type default constructor.private static MethodDescription.InDefinedShape
This.Binder. OPTIONAL
A description of thePipe.serializableProxy()
method.private static MethodDescription.InDefinedShape
DefaultMethod.Binder. PRIVILEGED
TheDefaultMethod.privileged()
property.private static MethodDescription.InDefinedShape
Origin.Binder. PRIVILEGED
A description of theOrigin.privileged()
method.private static MethodDescription.InDefinedShape
SuperMethod.Binder. PRIVILEGED
A description of theSuperMethod.privileged()
method.private static MethodDescription.InDefinedShape
Default.Binder. PROXY_TYPE
A method reference to the proxy type property.private static MethodDescription.InDefinedShape
Super.Binder. PROXY_TYPE
A reference to the proxy type property.private static MethodDescription.InDefinedShape
Default.Binder. SERIALIZABLE_PROXY
A method reference to the serializable proxy property.private static MethodDescription.InDefinedShape
DefaultCall.Binder. SERIALIZABLE_PROXY
A reference to the serializable proxy method of the default call annotation.private static MethodDescription.InDefinedShape
FieldProxy.Binder. SERIALIZABLE_PROXY
A reference to the method that declares the field annotation's serializable proxy property.private static MethodDescription.InDefinedShape
Morph.Binder. SERIALIZABLE_PROXY
A reference to the serializable proxy method.private static MethodDescription.InDefinedShape
Pipe.Binder. SERIALIZABLE_PROXY
A description of thePipe.serializableProxy()
method.private static MethodDescription.InDefinedShape
Super.Instantiation. SERIALIZABLE_PROXY
A reference to the serializable proxy method.private static MethodDescription.InDefinedShape
SuperCall.Binder. SERIALIZABLE_PROXY
A description of theSuperCall.serializableProxy()
method.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.Factory.Duplex. setterMethod
The setter method.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.Factory.Simplex. setterMethod
The setter method.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.ForGetterSetterPair. setterMethod
The setter method.private MethodDescription.InDefinedShape
FieldProxy.Binder.FieldResolver.ForSetter. setterMethod
The setter method.private static MethodDescription.InDefinedShape
Super.Binder. STRATEGY
A method reference to the strategy property.private static MethodDescription.InDefinedShape
DefaultCall.Binder. TARGET_TYPE
A reference to the target type method of the default call annotation.private static MethodDescription.InDefinedShape
DefaultCallHandle.Binder. TARGET_TYPE
A reference to the target type method of the default call annotation.private static MethodDescription.InDefinedShape
DefaultMethod.Binder. TARGET_TYPE
TheDefaultMethod.targetType()
property.private static MethodDescription.InDefinedShape
DefaultMethodHandle.Binder. TARGET_TYPE
TheDefaultMethodHandle.targetType()
property.private static MethodDescription.InDefinedShape
AllArguments.Binder. VALUE
A description of theAllArguments.value()
method.private static MethodDescription.InDefinedShape
Argument.Binder. VALUE
A description of theArgument.value()
method.private static MethodDescription.InDefinedShape
BindingPriority.Resolver. VALUE
A description of theBindingPriority.value()
method.Methods in net.bytebuddy.implementation.bind.annotation that return MethodDescription.InDefinedShape Modifier and Type Method Description private static MethodDescription.InDefinedShape
FieldProxy.Binder. onlyMethod(TypeDescription typeDescription)
Extracts the only method from a given type description which is validated for the required properties for using the type as a proxy base type.MethodDescription.InDefinedShape
Super.ConstructorResolver.Default. resolve(TypeDescription proxiedType, java.util.List<TypeDescription> constructorParameters)
Resolves the constructor to be used.MethodDescription.InDefinedShape
Super.ConstructorResolver. resolve(TypeDescription proxiedType, java.util.List<TypeDescription> constructorParameters)
Resolves the constructor to be used.Methods in net.bytebuddy.implementation.bind.annotation with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description private static StackManipulation
Origin.Binder. methodConstant(AnnotationDescription.Loadable<Origin> annotation, MethodDescription.InDefinedShape methodDescription)
Loads a method constant onto the operand stack.Constructors in net.bytebuddy.implementation.bind.annotation with parameters of type MethodDescription.InDefinedShape Constructor Description Binder(MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod)
Creates a new binder for aFieldProxy
in simplex mode.Binder(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod)
Creates a new binder for aFieldProxy
in duplex mode.Duplex(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod)
Creates a new duplex factory.ForGetter(MethodDescription.InDefinedShape getterMethod)
Creates a new getter field resolver.ForGetterSetterPair(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod)
Creates a new field resolver for an accessor that both gets and sets a field value.ForSetter(MethodDescription.InDefinedShape setterMethod)
Creates a new field resolver for a setter accessor.Simplex(MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod)
Creates a simplex factory. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.implementation.bytecode.constant
Fields in net.bytebuddy.implementation.bytecode.constant declared as MethodDescription.InDefinedShape Modifier and Type Field Description protected static MethodDescription.InDefinedShape
MethodConstant. DO_PRIVILEGED
Thejava.security.AccessController#doPrivileged(PrivilegedExceptionAction)
method ornull
if this method is not available on the current VM.private static MethodDescription.InDefinedShape
MethodConstant.ForConstructor. GET_CONSTRUCTOR
TheClass.getConstructor(Class[])
method.private static MethodDescription.InDefinedShape
MethodConstant.ForConstructor. GET_DECLARED_CONSTRUCTOR
TheClass.getDeclaredConstructor(Class[])
method.private static MethodDescription.InDefinedShape
MethodConstant.ForMethod. GET_DECLARED_METHOD
TheClass.getDeclaredMethod(String, Class[])
method.private static MethodDescription.InDefinedShape
MethodConstant.ForMethod. GET_METHOD
TheClass.getMethod(String, Class[])
method.protected MethodDescription.InDefinedShape
MethodConstant. methodDescription
A description of the method to be loaded onto the stack.private MethodDescription.InDefinedShape
MethodConstant.PrivilegedLookup. methodDescription
The method constant to load.Methods in net.bytebuddy.implementation.bytecode.constant that return MethodDescription.InDefinedShape Modifier and Type Method Description protected abstract MethodDescription.InDefinedShape
MethodConstant. accessorMethod()
Returns the method for loading a declared method or constructor onto the operand stack.protected MethodDescription.InDefinedShape
MethodConstant.ForConstructor. accessorMethod()
protected MethodDescription.InDefinedShape
MethodConstant.ForMethod. accessorMethod()
private static MethodDescription.InDefinedShape
MethodConstant. doPrivileged()
Resolves thejava.security.AccessController#doPrivileged
method if the security manager is supported on the current VM and if security manager support is not explicitly disabled.Methods in net.bytebuddy.implementation.bytecode.constant with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description static MethodConstant.CanCache
MethodConstant. of(MethodDescription.InDefinedShape methodDescription)
Creates a stack manipulation that loads a method constant onto the operand stack.static MethodConstant.CanCache
MethodConstant. ofPrivileged(MethodDescription.InDefinedShape methodDescription)
Creates a stack manipulation that loads a method constant onto the operand stack using anjava.security.AccessController
.Constructors in net.bytebuddy.implementation.bytecode.constant with parameters of type MethodDescription.InDefinedShape Constructor Description ForConstructor(MethodDescription.InDefinedShape methodDescription)
Creates a newMethodConstant
for creating aConstructor
instance.ForMethod(MethodDescription.InDefinedShape methodDescription)
Creates a newMethodConstant
for creating aMethod
instance.MethodConstant(MethodDescription.InDefinedShape methodDescription)
Creates a new method constant.PrivilegedLookup(MethodDescription.InDefinedShape methodDescription, StackManipulation methodName)
Creates a new privileged lookup. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.implementation.bytecode.member
Fields in net.bytebuddy.implementation.bytecode.member declared as MethodDescription.InDefinedShape Modifier and Type Field Description private MethodDescription.InDefinedShape
MethodInvocation.DynamicInvocation. bootstrapMethod
The bootstrap method.private MethodDescription.InDefinedShape
MethodInvocation.HandleInvocation. methodDescription
The invoked method.private MethodDescription.InDefinedShape
MethodInvocation.Invocation. methodDescription
The type on which this method is to be invoked.Methods in net.bytebuddy.implementation.bytecode.member with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description static MethodInvocation.WithImplicitInvocationTargetType
MethodInvocation. invoke(MethodDescription.InDefinedShape methodDescription)
Creates a method invocation with an implicitly determined invocation type.Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type MethodDescription.InDefinedShape Constructor Description DynamicInvocation(java.lang.String methodName, TypeDescription returnType, java.util.List<? extends TypeDescription> parameterTypes, MethodDescription.InDefinedShape bootstrapMethod, java.util.List<? extends JavaConstant> arguments)
Creates a new dynamic method invocation.HandleInvocation(MethodDescription.InDefinedShape methodDescription, MethodInvocation.HandleType type)
Creates a new method handle invocation.Invocation(MethodDescription.InDefinedShape methodDescription)
Creates an invocation of a given method on its declaring type as an invocation target.Invocation(MethodDescription.InDefinedShape methodDescription, TypeDescription typeDescription)
Creates an invocation of a given method on a given invocation target type. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.matcher
Methods in net.bytebuddy.matcher with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description static <T extends MethodDescription>
ElementMatcher.Junction<T>ElementMatchers. is(MethodDescription.InDefinedShape method)
Exactly matches a given method or constructor as aMethodDescription
in its defined shape.Method parameters in net.bytebuddy.matcher with type arguments of type MethodDescription.InDefinedShape Modifier and Type Method Description static <T extends MethodDescription>
ElementMatcher.Junction<T>ElementMatchers. definedMethod(ElementMatcher<? super MethodDescription.InDefinedShape> matcher)
Matches a method in its defined shape. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement MethodDescription.InDefinedShape Modifier and Type Class Description private class
TypePool.Default.LazyTypeDescription.LazyMethodDescription
A lazy representation of a method that resolves references to types only on demand.Methods in net.bytebuddy.pool that return MethodDescription.InDefinedShape Modifier and Type Method Description MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.MethodTokenList. get(int index)
MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterDescription. getDeclaringMethod()
Returns the method that declares this parameter.MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription. getEnclosingMethod()
Returns a description of the method that encloses this type.MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.TypeContainment. getEnclosingMethod(TypePool typePool)
Returns the enclosing method ornull
if no such method exists.MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.TypeContainment.SelfContained. getEnclosingMethod(TypePool typePool)
Returns the enclosing method ornull
if no such method exists.MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.TypeContainment.WithinMethod. getEnclosingMethod(TypePool typePool)
Returns the enclosing method ornull
if no such method exists.MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.TypeContainment.WithinType. getEnclosingMethod(TypePool typePool)
Returns the enclosing method ornull
if no such method exists.private MethodDescription.InDefinedShape
TypePool.Default.LazyTypeDescription.MethodToken. toMethodDescription(TypePool.Default.LazyTypeDescription lazyTypeDescription)
Transforms this method token to a method description that is attached to a lazy type description.Methods in net.bytebuddy.pool that return types with arguments of type MethodDescription.InDefinedShape Modifier and Type Method Description MethodList<MethodDescription.InDefinedShape>
TypePool.Default.LazyTypeDescription. getDeclaredMethods()
Returns the methods that this type declares.Methods in net.bytebuddy.pool with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description AnnotationValue<U,V>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<W,X>
TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForMismatchedType. filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition)
Filters this annotation value as a valid value of the provided property.AnnotationValue<?,?>
TypePool.Default.LazyTypeDescription.LazyAnnotationDescription. getValue(MethodDescription.InDefinedShape property)
Returns a value of this annotation.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod. resolveExceptionTypes(java.util.List<java.lang.String> exceptionTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized. resolveExceptionTypes(java.util.List<java.lang.String> exceptionTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed. resolveExceptionTypes(java.util.List<java.lang.String> exceptionTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw. resolveExceptionTypes(java.util.List<java.lang.String> exceptionTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod. resolveParameterTypes(java.util.List<java.lang.String> parameterTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized. resolveParameterTypes(java.util.List<java.lang.String> parameterTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed. resolveParameterTypes(java.util.List<java.lang.String> parameterTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeList.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw. resolveParameterTypes(java.util.List<java.lang.String> parameterTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod. resolveReturnType(java.lang.String returnTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the return type of the represented method.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized. resolveReturnType(java.lang.String returnTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the return type of the represented method.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed. resolveReturnType(java.lang.String returnTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the return type of the represented method.TypeDescription.Generic
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw. resolveReturnType(java.lang.String returnTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
Resolves the return type of the represented method. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.utility
Methods in net.bytebuddy.utility with parameters of type MethodDescription.InDefinedShape Modifier and Type Method Description static JavaConstant.Dynamic
JavaConstant.Dynamic. bootstrap(java.lang.String name, MethodDescription.InDefinedShape bootstrapMethod, java.lang.Object... constant)
Binds the supplied bootstrap method or constructor for the resolution of a dynamic constant.static JavaConstant.Dynamic
JavaConstant.Dynamic. bootstrap(java.lang.String name, MethodDescription.InDefinedShape bootstrap, java.util.List<?> arguments)
Binds the supplied bootstrap method or constructor for the resolution of a dynamic constant.protected static JavaConstant.MethodHandle.HandleType
JavaConstant.MethodHandle.HandleType. of(MethodDescription.InDefinedShape methodDescription)
Extracts a handle type for invoking the given method.static JavaConstant.MethodHandle
JavaConstant.MethodHandle. of(MethodDescription.InDefinedShape methodDescription)
Creates a method handle representation of the given method.static JavaConstant.Dynamic
JavaConstant.Dynamic. ofInvocation(MethodDescription.InDefinedShape methodDescription, java.lang.Object... constant)
Represents a constant that is resolved by invoking astatic
factory method or a constructor.static JavaConstant.Dynamic
JavaConstant.Dynamic. ofInvocation(MethodDescription.InDefinedShape methodDescription, java.util.List<?> constants)
Represents a constant that is resolved by invoking astatic
factory method or a constructor.protected static JavaConstant.MethodHandle.HandleType
JavaConstant.MethodHandle.HandleType. ofSpecial(MethodDescription.InDefinedShape methodDescription)
Extracts a handle type for invoking the given method via invokespecial.static JavaConstant.MethodHandle
JavaConstant.MethodHandle. ofSpecial(MethodDescription.InDefinedShape methodDescription, TypeDescription typeDescription)
Creates a method handle representation of the given method for an explicit special method invocation of an otherwise virtual method.
-