Uses of Interface
net.bytebuddy.description.method.MethodDescription.InDefinedShape
Packages that use MethodDescription.InDefinedShape
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
The ASM package contains classes that are meant for direct interaction with the ASM API.
Classes of this package allow the representation of Java classes, their member and their meta data.
Contains descriptions of annotations and annotation values.
Contains descriptions of Java methods and constructors as well as their parameters.
Contains descriptions of Java types and packages.
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type.The implementation package contains any logic for intercepting method calls.
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e. fields, types and byte code methods.
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType.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.
StackManipulations in this package are responsible for
creating compile-time constants and pushing them onto the operand stack.StackManipulations of this package are responsible for
accessing type or method members, i.e. reading and writing of fields, invoking of methods, access of local variables
within a method invocation or returning values from method invocations.Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescriptions without
loading any classes.This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of MethodDescription.InDefinedShape in net.bytebuddy.agent.builder
Constructors in net.bytebuddy.agent.builder with parameters of type MethodDescription.InDefinedShapeModifierConstructorDescriptionprotectedUsingMethodHandle(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.InDefinedShapeModifier and TypeFieldDescriptionprotected final MethodDescription.InDefinedShapeAdvice.Dispatcher.Delegating.adviceMethodThe advice method.protected final MethodDescription.InDefinedShapeAdvice.Dispatcher.Inlining.adviceMethodThe advice method.protected final MethodDescription.InDefinedShapeAdvice.Dispatcher.Inlining.CodeTranslationVisitor.adviceMethodThe advice method.protected final MethodDescription.InDefinedShapeAdvice.Dispatcher.Inlining.Resolved.adviceMethodThe represented advice method.protected static final MethodDescription.InDefinedShapeAdvice.OffsetMapping.ForLocalValue.Factory.LOCAL_VALUEA description of theAdvice.Local.value()method.Methods in net.bytebuddy.asm with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescription<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, Object... constant) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, List<?> constants) Binds the supplied annotation to a dynamically bootstrapped value.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bindDynamic(Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, Object... constant) Binds the supplied annotation to a dynamically bootstrapped value.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bindDynamic(Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, List<?> constants) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(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.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bindLambda(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.bootstrap(MethodDescription.InDefinedShape bootstrap) Defines the supplied method or constructor as a dynamic invocation bootstrap target for delegating advice methods.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.Advice.WithCustomMapping.bootstrap(MethodDescription.InDefinedShape bootstrap, Advice.BootstrapArgumentResolver.Factory resolverFactory, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Defines the supplied method or constructor as a dynamic invocation bootstrap target for delegating advice methods.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.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.Advice.Delegator.Factory.make(MethodDescription.InDefinedShape adviceMethod, boolean exit) Resolves a delegator.Advice.Delegator.ForDynamicInvocation.Factory.make(MethodDescription.InDefinedShape adviceMethod, boolean exit) Resolves a delegator.Advice.Delegator.ForRegularInvocation.Factory.make(MethodDescription.InDefinedShape adviceMethod, boolean exit) Resolves a delegator.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.ForDefaultValues.Factory.make(MethodDescription.InDefinedShape delegate) Creates a bootstrap argument resolver for a given delegation method.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.ForDynamicInvocation.Factory.make(MethodDescription.InDefinedShape delegate) Creates a dispatcher for a given delegation method.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.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.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.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.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.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.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.ForDynamicConstant.Factory.make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.DynamicConstant> annotation) Creates an offset mapping for an annotation that was found on a non-static method.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.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.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.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.ForHandle.Factory.make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.Handle> annotation) Creates an offset mapping for an annotation that was found on a non-static method.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.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.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.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.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.FactoryAdvice.Delegator.ForDynamicInvocation.of(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new dynamic invocation delegator.protected static Advice.Dispatcher.Resolved.ForMethodEnterAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, 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.ForMethodExitAdvice.Dispatcher.Delegating.Resolved.ForMethodExit.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, Map<String, TypeDefinition> namedTypes, 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.ForMethodEnterAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, 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.ForMethodExitAdvice.Dispatcher.Inlining.Resolved.ForMethodExit.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, 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.Thrownparameter annotation.static Advice.OffsetMapping.TargetAdvice.OffsetMapping.Target.ForStackManipulation.of(MethodDescription.InDefinedShape methodDescription) Creates a target for aMethodorConstructorconstant.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.Factory.resolve(MethodDescription.InDefinedShape adviceMethod, boolean exit) Creates a bootstrap argument resolver for a given advice.Advice.BootstrapArgumentResolver.ForDefaultValues.Factory.resolve(MethodDescription.InDefinedShape adviceMethod, boolean exit) Creates a bootstrap argument resolver for a given advice.protected abstract Advice.OffsetMapping.TargetAdvice.OffsetMapping.ForInstrumentedMethod.resolve(MethodDescription.InDefinedShape methodDescription) Resolves the target for a given method description.MemberSubstitution.Substitution.Chain.Step.ForDelegation.to(MethodDescription.InDefinedShape methodDescription) Returns a delegating step factory for the supplied method description..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.InDefinedShapeModifierConstructorDescriptionprotectedAbstractBase(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, 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.protectedCodeTranslationVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, MethodDescription.InDefinedShape adviceMethod, Map<Integer, Advice.OffsetMapping.Target> offsetMappings, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.PostProcessor postProcessor, boolean exit) Creates a new code translation visitor.protectedDelegating(MethodDescription.InDefinedShape adviceMethod, Advice.Delegator.Factory delegatorFactory) Creates a new delegating advice dispatcher.protectedFactory(MethodDescription.InDefinedShape bootstrapMethod, Advice.BootstrapArgumentResolver.Factory resolverFactory, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a factory for a dynamic invocation dispatcher.protectedFactory(MethodDescription.InDefinedShape bootstrapMethod, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Factory resolverFactory) Creates a new factory for a dispatcher using a dynamic method invocation.protectedFactory(MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher dispatcher, List<? extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<?>> factories) Creates a new factory for a delegating step.protectedForDefaultValues(MethodDescription.InDefinedShape adviceMethod, boolean exit) Creates a bootstrap argument resolver with default values.protectedCreates a default bootstrap argument resolver.protectedForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.SignatureToken signatureToken, Advice.BootstrapArgumentResolver resolver) Creates a delegator for a dynamic method invocation.protectedForDynamicInvocation(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver resolver) Creates a dispatcher for a dynamic method invocation.protectedForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice.protectedForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice.protectedForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice.protectedForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType) Creates a new resolved dispatcher for implementing method exit advice.protectedForRegularInvocation(MethodDescription.InDefinedShape adviceMethod) Creates a delegator for a regular invocation.protectedInlining(MethodDescription.InDefinedShape adviceMethod) Creates a dispatcher for inlined advice method.protectedOfAnnotationProperty(Class<T> annotationType, MethodDescription.InDefinedShape property) Creates a factory for binding an annotation property.protectedOfAnnotationProperty(Class<T> annotationType, MethodDescription.InDefinedShape property) Creates a factory for assigning an annotation property to the annotated parameter.OfDynamicInvocation(Class<T> annotationType, MethodDescription.InDefinedShape bootstrapMethod, List<? extends JavaConstant> arguments) Creates a new factory for a dynamic invocation.OfDynamicInvocation(Class<T> annotationType, MethodDescription.InDefinedShape bootstrapMethod, List<? extends JavaConstant> arguments) Creates a factory for an offset mapping that assigns the result of a dynamic method invocation.protectedResolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.Delegator delegator) Creates a new resolved version of a dispatcher.protectedResolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, AsmClassReader classReader) Creates a new resolved version of a dispatcher.protectedResolved(MethodDescription.InDefinedShape delegate, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a resolved version of a bootstrap argument resolver.protectedResolved(MethodDescription.InDefinedShape bootstrapMethod, MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Resolved resolver) Creates a resolved dispatcher of a dynamic method dispatcher.protectedWithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, 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.protectedWithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, 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.protectedWithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, 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.protectedWithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, 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.protectedWithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, 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.protectedWithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, 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.protectedWithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, 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.protectedWithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, 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.description
Methods in net.bytebuddy.description with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionTypeVariableSource.Visitor.NoOp.onMethod(MethodDescription.InDefinedShape methodDescription) Applies the visitor on a method.TypeVariableSource.Visitor.onMethod(MethodDescription.InDefinedShape methodDescription) Applies the visitor on a method. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.description.annotation
Methods in net.bytebuddy.description.annotation with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionAnnotationValue.AbstractBase.filter(MethodDescription.InDefinedShape property) Filters this annotation value as a valid value of the provided property.AnnotationValue.filter(MethodDescription.InDefinedShape property) Filters this annotation value as a valid value of the provided property.AnnotationValue.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForAnnotationDescription.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForConstant.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForDescriptionArray.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForEnumerationDescription.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForEnumerationDescription.WithUnknownConstant.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForIncompatibleType.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForMismatchedType.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForMissingType.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.AnnotationValue.ForMissingValue.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.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.InDefinedShapeModifierConstructorDescriptionForMismatchedType(MethodDescription.InDefinedShape property, 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.InDefinedShapeModifier and TypeClassDescriptionstatic classAn implementation of a method description for a loaded constructor.static classAn implementation of a method description for a loaded method.static classAn abstract base implementation of a method description in its defined shape.protected static classA base implementation for a loaded instance representation for ajava.lang.reflect.Executable.static classA latent method description describes a method that is not attached to a declaringTypeDescription.static classA method description that represents the type initializer.Subclasses with type arguments of type MethodDescription.InDefinedShape in net.bytebuddy.description.methodModifier and TypeClassDescriptionstatic classA method list implementation that returns all loaded byte code methods (methods and constructors) that are declared for a given type.static classA list of method descriptions for a list of detached tokens.Subinterfaces with type arguments of type MethodDescription.InDefinedShape in net.bytebuddy.description.methodModifier and TypeInterfaceDescriptioninterfaceImplementations of this interface describe a Java method, i.e. a method or a constructor.Fields in net.bytebuddy.description.method declared as MethodDescription.InDefinedShapeModifier and TypeFieldDescriptionstatic final MethodDescription.InDefinedShapeMethodDescription.UNDEFINEDRepresents any undefined property of a type description that is instead represented asnullin order to resemble the Java reflection API which returnsnulland is intuitive to many Java developers.Methods in net.bytebuddy.description.method that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionMethodDescription.InDefinedShape.AbstractBase.asDefined()Returns this type dependant in its defined shape, i.e. the form it is declared in and without its type variable's resolved.MethodDescription.TypeSubstituting.asDefined()Returns this type dependant in its defined shape, i.e. the form it is declared in and without its type variable's resolved.MethodList.ForLoadedMethods.get(int index) MethodList.ForTokens.get(int index) ParameterDescription.ForLoadedParameter.OfConstructor.getDeclaringMethod()Returns the method that declares this parameter.ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor.getDeclaringMethod()Returns the method that declares this parameter.ParameterDescription.ForLoadedParameter.OfLegacyVmMethod.getDeclaringMethod()Returns the method that declares this parameter.ParameterDescription.ForLoadedParameter.OfMethod.getDeclaringMethod()Returns the method that declares this parameter.ParameterDescription.InDefinedShape.getDeclaringMethod()Returns the method that declares this parameter.ParameterDescription.Latent.getDeclaringMethod()Returns the method that declares this parameter.Methods in net.bytebuddy.description.method that return types with arguments of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionMethodList.AbstractBase.asDefined()Returns this list of these method descriptions resolved to their defined shape.MethodList.asDefined()Returns this list of these method descriptions resolved to their defined shape.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.InDefinedShapeModifierConstructorDescriptionForTokens(MethodDescription.InDefinedShape declaringMethod, List<? extends ParameterDescription.Token> tokens) Creates a new parameter list for the provided tokens.ForTypes(MethodDescription.InDefinedShape methodDescription, List<? extends TypeDefinition> typeDefinitions) Creates a new parameter type list.ForTypes(MethodDescription.InDefinedShape methodDescription, TypeDefinition... typeDefinition) Creates a new parameter type list.Latent(MethodDescription.InDefinedShape declaringMethod, ParameterDescription.Token token, int index, int offset) Creates a latent parameter description.Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, int index, int offset) Creates a new latent parameter descriptions for a parameter without explicit meta data or annotations.Latent(MethodDescription.InDefinedShape declaringMethod, TypeDescription.Generic parameterType, List<? extends AnnotationDescription> declaredAnnotations, String name, Integer modifiers, int index, int offset) Creates a latent parameter description. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionRecordComponentDescription.ForLoadedRecordComponent.getAccessor()RecordComponentDescription.InDefinedShape.AbstractBase.getAccessor()Returns the accessor for this record component.RecordComponentDescription.InDefinedShape.getAccessor()Returns the accessor for this record component.TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getEnclosingMethod()Returns a description of the method that encloses this type.TypeDescription.ArrayProjection.getEnclosingMethod()Returns a description of the method that encloses this type.TypeDescription.ForLoadedType.getEnclosingMethod()Returns a description of the method that encloses this type.TypeDescription.ForPackageDescription.getEnclosingMethod()Returns a description of the method that encloses this type.TypeDescription.getEnclosingMethod()Returns a description of the method that encloses this type.TypeDescription.Latent.getEnclosingMethod()Returns a description of the method that encloses this type.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.InDefinedShapeModifier and TypeMethodDescriptionTypeDescription.AbstractBase.OfSimpleType.WithDelegation.getDeclaredMethods()Returns the methods that this type declares.TypeDescription.ArrayProjection.getDeclaredMethods()Returns the methods that this type declares.TypeDescription.ForLoadedType.getDeclaredMethods()Returns the methods that this type declares.TypeDescription.ForPackageDescription.getDeclaredMethods()Returns the methods that this type declares.TypeDescription.getDeclaredMethods()Returns the methods that this type declares.TypeDescription.Latent.getDeclaredMethods()Returns the methods that this type declares.TypeDescription.SuperTypeLoading.getDeclaredMethods()Returns the methods that this type declares.Methods in net.bytebuddy.description.type with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionTypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onMethod(MethodDescription.InDefinedShape methodDescription) Applies the visitor on a method. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionTransformer.ForMethod.TransformedMethod.asDefined()Returns this type dependant in its defined shape, i.e. the form it is declared in and without its type variable's resolved.Methods in net.bytebuddy.dynamic with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionDynamicType.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.AbstractBase.Delegator.innerTypeOf(MethodDescription.InDefinedShape methodDescription) Defines this type as an inner type that was declared within the supplied method or constructor.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.InDefinedShapeModifierConstructorDescriptionprotectedInnerTypeDefinitionForMethodAdapter(MethodDescription.InDefinedShape methodDescription) Creates a new adapter for defining a type that is declared within a method or constructor.protectedTransformedMethod(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.InDefinedShapeModifier and TypeClassDescriptionprotected static classA method representing an accessor bridge method.protected static classA method representing a bridge's target method in its defined shape.protected static classA method describing a visibility bridge.Methods in net.bytebuddy.dynamic.scaffold that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionInstrumentedType.Default.getEnclosingMethod()Returns a description of the method that encloses this type.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.InDefinedShapeModifier and TypeMethodDescriptionInstrumentedType.Default.getDeclaredMethods()Returns the methods that this type declares.InstrumentedType.Frozen.getDeclaredMethods()Returns the methods that this type declares.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionprotected 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.Default.withEnclosingMethod(MethodDescription.InDefinedShape enclosingMethod) Creates a new instrumented type with the supplied enclosing method.InstrumentedType.Frozen.withEnclosingMethod(MethodDescription.InDefinedShape enclosingMethod) Creates a new instrumented type with the supplied enclosing method.InstrumentedType.withEnclosingMethod(MethodDescription.InDefinedShape enclosingMethod) Creates a new instrumented type with the supplied enclosing method.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.InDefinedShapeModifierConstructorDescriptionprotectedDefault(String name, int modifiers, ModuleDescription moduleDescription, List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic superClass, List<? extends TypeDescription.Generic> interfaceTypes, List<? extends FieldDescription.Token> fieldTokens, Map<String, Object> auxiliaryFieldValues, List<? extends MethodDescription.Token> methodTokens, List<? extends RecordComponentDescription.Token> recordComponentTokens, List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, List<? extends TypeDescription> declaredTypes, List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, 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.InDefinedShapeModifier and TypeClassDescriptionprotected static classAn description of a rebased constructor.protected static classA description of a rebased method.Methods in net.bytebuddy.dynamic.scaffold.inline that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionMethodRebaseResolver.Resolution.ForRebasedConstructor.getResolvedMethod()Returns the resolved method if this resolution represents a rebased method or the original method.MethodRebaseResolver.Resolution.ForRebasedMethod.getResolvedMethod()Returns the resolved method if this resolution represents a rebased method or the original method.MethodRebaseResolver.Resolution.getResolvedMethod()Returns the resolved method if this resolution represents a rebased method or the original method.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.InDefinedShapeModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.innerTypeOf(MethodDescription.InDefinedShape methodDescription) Defines this type as an inner type that was declared within the supplied method or constructor.MethodRebaseResolver.Resolution.ForRebasedConstructor.of(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType) Resolves a constructor rebasement.MethodRebaseResolver.Resolution.ForRebasedMethod.of(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer) Resolves a rebasement for the provided method.protected static Implementation.SpecialMethodInvocationRebaseImplementationTarget.RebasedMethodInvocation.of(MethodDescription.InDefinedShape resolvedMethod, TypeDescription instrumentedType, TypeList prependedParameters) Creates a special method invocation for the given method.MethodRebaseResolver.Default.resolve(MethodDescription.InDefinedShape methodDescription) Checks if a method is eligible for rebasing and resolves this possibly rebased method.MethodRebaseResolver.Disabled.resolve(MethodDescription.InDefinedShape methodDescription) Checks if a method is eligible for rebasing and resolves this possibly rebased method.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.InDefinedShapeModifierConstructorDescriptionprotectedForRebasedConstructor(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType) Creates a new resolution for a rebased constructor.protectedForRebasedMethod(MethodDescription.InDefinedShape methodDescription) Creates a resolution for a rebased method.Preserved(MethodDescription.InDefinedShape methodDescription) Creates a newMethodRebaseResolver.Resolutionfor a non-rebased method.protectedRebasedConstructor(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType) Creates a new rebased constructor.protectedRebasedMethod(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer) Creates a new rebased method.protectedRebasedMethodInvocation(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.InDefinedShapeModifierConstructorDescriptionprotectedDefault(Map<MethodDescription.InDefinedShape, MethodRebaseResolver.Resolution> resolutions, 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.InDefinedShapeModifier and TypeClassDescriptionprotected static classA base implementation of a method that accesses a property of an instrumented type.protected static classA description of an accessor method to access another method from outside the instrumented type.protected static classA description of a field getter method.protected static classA description of a field setter method.Fields in net.bytebuddy.implementation declared as MethodDescription.InDefinedShapeModifier and TypeFieldDescriptionprotected final MethodDescription.InDefinedShapeInvokeDynamic.bootstrapThe bootstrap method.protected static final MethodDescription.InDefinedShapeEqualsMethod.TypeCompatibilityCheck.GET_CLASSTheObject.getClass()method.protected final MethodDescription.InDefinedShapeImplementation.Context.Default.DelegationRecord.methodDescriptionThe delegation method.Methods in net.bytebuddy.implementation that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionImplementation.Context.Default.DelegationRecord.getMethod()Returns the method that is implemented where the returned method resembles a potential transformation.Implementation.Context.Default.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType) Registers an accessor method for aImplementation.SpecialMethodInvocationwhich cannot itself be triggered invoked directly from outside a type.Implementation.Context.Disabled.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType) Registers an accessor method for aImplementation.SpecialMethodInvocationwhich cannot itself be triggered invoked directly from outside a type.MethodAccessorFactory.Illegal.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType) Registers an accessor method for aImplementation.SpecialMethodInvocationwhich cannot itself be triggered invoked directly from outside a type.MethodAccessorFactory.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation, MethodAccessorFactory.AccessType accessType) Registers an accessor method for aImplementation.SpecialMethodInvocationwhich cannot itself be triggered invoked directly from outside a type.Implementation.Context.Default.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.Implementation.Context.Disabled.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.Illegal.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.registerGetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a getter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.Implementation.Context.Default.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.Implementation.Context.Disabled.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.Illegal.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.MethodAccessorFactory.registerSetterFor(FieldDescription fieldDescription, MethodAccessorFactory.AccessType accessType) Registers a setter for the givenFieldDescriptionwhich might itself not be accessible from outside the class.Methods in net.bytebuddy.implementation with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionInvokeDynamic.bootstrap(MethodDescription.InDefinedShape bootstrap, Object... constant) Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method or constructor.InvokeDynamic.bootstrap(MethodDescription.InDefinedShape bootstrap, List<?> constants) Implements the instrumented method with a dynamic method invocation which is linked at runtime using the specified bootstrap method or constructor.InvokeDynamic.lambda(MethodDescription.InDefinedShape methodDescription, TypeDefinition functionalInterface) Creates a lambda expression using the JVM's lambda meta factory.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.InDefinedShapeModifierConstructorDescriptionprotectedAbstractDelegator(MethodDescription.InDefinedShape bootstrap, 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.protectedDelegationRecord(MethodDescription.InDefinedShape methodDescription, Visibility visibility) Creates a new delegation record.protectedInvokeDynamic(MethodDescription.InDefinedShape bootstrap, List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing) Creates a new invoke dynamic implementation.protectedOfArgument(MethodDescription.InDefinedShape bootstrap, 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.protectedOfField(MethodDescription.InDefinedShape bootstrap, List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, String fieldName, FieldLocator.Factory fieldLocatorFactory) Creates a new abstract delegator for a dynamic method invocation where the last argument is assigned an implicit type.protectedOfInstance(MethodDescription.InDefinedShape bootstrap, List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, Object value) Creates a new invoke dynamic instance with an implicit field type for the provided value.protectedWithImplicitArguments(MethodDescription.InDefinedShape bootstrap, List<? extends JavaConstant> arguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing) Creates a new dynamic method invocation with implicit arguments.protectedWithImplicitTarget(MethodDescription.InDefinedShape bootstrap, 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.protectedWithImplicitType(MethodDescription.InDefinedShape bootstrap, 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.InDefinedShapeModifier and TypeMethodDescriptionbooleanAnnotationValueFilter.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
Constructors in net.bytebuddy.implementation.auxiliary with parameters of type MethodDescription.InDefinedShapeModifierConstructorDescriptionForSuperMethodByConstructor(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
Methods in net.bytebuddy.implementation.bind.annotation that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionSuper.ConstructorResolver.Default.resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.Super.ConstructorResolver.resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.Constructors in net.bytebuddy.implementation.bind.annotation with parameters of type MethodDescription.InDefinedShapeModifierConstructorDescriptionprotectedBinder(MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod) Creates a new binder for aFieldProxyin simplex mode.protectedBinder(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod) Creates a new binder for aFieldProxyin duplex mode.protectedDuplex(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod) Creates a new duplex factory.protectedForGetter(MethodDescription.InDefinedShape getterMethod) Creates a new getter field resolver.protectedForGetterSetterPair(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod) Creates a new field resolver for an accessor that both gets and sets a field value.protectedForSetter(MethodDescription.InDefinedShape setterMethod) Creates a new field resolver for a setter accessor.protectedSimplex(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.InDefinedShapeModifier and TypeFieldDescriptionprotected static final MethodDescription.InDefinedShapeMethodConstant.DO_PRIVILEGEDThejava.security.AccessController#doPrivileged(PrivilegedExceptionAction)method ornullif this method is not available on the current VM.protected final MethodDescription.InDefinedShapeMethodConstant.methodDescriptionA description of the method to be loaded onto the stack.Methods in net.bytebuddy.implementation.bytecode.constant that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionprotected abstract MethodDescription.InDefinedShapeMethodConstant.accessorMethod()Returns the method for loading a declared method or constructor onto the operand stack.protected MethodDescription.InDefinedShapeMethodConstant.ForConstructor.accessorMethod()protected MethodDescription.InDefinedShapeMethodConstant.ForMethod.accessorMethod()Methods in net.bytebuddy.implementation.bytecode.constant with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionstatic MethodConstant.CanCacheMethodConstant.of(MethodDescription.InDefinedShape methodDescription) Creates a stack manipulation that loads a method constant onto the operand stack.static MethodConstant.CanCacheMethodConstant.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.InDefinedShapeModifierConstructorDescriptionprotectedForConstructor(MethodDescription.InDefinedShape methodDescription) Creates a newMethodConstantfor creating aConstructorinstance.protectedForMethod(MethodDescription.InDefinedShape methodDescription) Creates a newMethodConstantfor creating aMethodinstance.protectedMethodConstant(MethodDescription.InDefinedShape methodDescription) Creates a new method constant.protectedPrivilegedLookup(MethodDescription.InDefinedShape methodDescription, StackManipulation methodName) Creates a new privileged lookup. -
Uses of MethodDescription.InDefinedShape in net.bytebuddy.implementation.bytecode.member
Methods in net.bytebuddy.implementation.bytecode.member with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionMethodInvocation.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.InDefinedShapeModifierConstructorDescriptionprotectedHandleInvocation(MethodDescription.InDefinedShape methodDescription, MethodInvocation.HandleType type) Creates a new method handle invocation.protectedInvocation(MethodDescription.InDefinedShape methodDescription) Creates an invocation of a given method on its declaring type as an invocation target.protectedInvocation(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.InDefinedShapeModifier and TypeMethodDescriptionstatic <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.is(MethodDescription.InDefinedShape method) Exactly matches a given method or constructor as aMethodDescriptionin its defined shape.Method parameters in net.bytebuddy.matcher with type arguments of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionstatic <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
Subclasses with type arguments of type MethodDescription.InDefinedShape in net.bytebuddy.poolModifier and TypeClassDescriptionprotected classA list of method tokens representing each entry as a method description.Methods in net.bytebuddy.pool that return MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.MethodTokenList.get(int index) TypePool.Default.LazyTypeDescription.getEnclosingMethod()Returns a description of the method that encloses this type.TypePool.Default.LazyTypeDescription.TypeContainment.getEnclosingMethod(TypePool typePool) Returns the enclosing method ornullif no such method exists.TypePool.Default.LazyTypeDescription.TypeContainment.SelfContained.getEnclosingMethod(TypePool typePool) Returns the enclosing method ornullif no such method exists.TypePool.Default.LazyTypeDescription.TypeContainment.WithinMethod.getEnclosingMethod(TypePool typePool) Returns the enclosing method ornullif no such method exists.TypePool.Default.LazyTypeDescription.TypeContainment.WithinType.getEnclosingMethod(TypePool typePool) Returns the enclosing method ornullif no such method exists.Methods in net.bytebuddy.pool that return types with arguments of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.getDeclaredMethods()Returns the methods that this type declares.Methods in net.bytebuddy.pool with parameters of type MethodDescription.InDefinedShapeModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveExceptionTypes(List<String> exceptionTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveExceptionTypes(List<String> exceptionTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveExceptionTypes(List<String> exceptionTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveExceptionTypes(List<String> exceptionTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveParameterTypes(List<String> parameterTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveParameterTypes(List<String> parameterTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveParameterTypes(List<String> parameterTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveParameterTypes(List<String> parameterTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the generic parameter types of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveReturnType(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveReturnType(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveReturnType(String returnTypeDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod) Resolves the return type of the represented method.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveReturnType(String returnTypeDescriptor, TypePool typePool, Map<String, 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.InDefinedShapeModifier and TypeMethodDescriptionstatic JavaConstant.DynamicJavaConstant.Dynamic.bootstrap(String name, MethodDescription.InDefinedShape bootstrapMethod, Object... constant) Binds the supplied bootstrap method or constructor for the resolution of a dynamic constant.static JavaConstant.DynamicJavaConstant.Dynamic.bootstrap(String name, MethodDescription.InDefinedShape bootstrap, List<?> arguments) Binds the supplied bootstrap method or constructor for the resolution of a dynamic constant.protected static JavaConstant.MethodHandle.HandleTypeJavaConstant.MethodHandle.HandleType.of(MethodDescription.InDefinedShape methodDescription) Extracts a handle type for invoking the given method.static JavaConstant.MethodHandleJavaConstant.MethodHandle.of(MethodDescription.InDefinedShape methodDescription) Creates a method handle representation of the given method.static JavaConstant.DynamicJavaConstant.Dynamic.ofInvocation(MethodDescription.InDefinedShape methodDescription, Object... constant) Represents a constant that is resolved by invoking astaticfactory method or a constructor.static JavaConstant.DynamicJavaConstant.Dynamic.ofInvocation(MethodDescription.InDefinedShape methodDescription, List<?> constants) Represents a constant that is resolved by invoking astaticfactory method or a constructor.protected static JavaConstant.MethodHandle.HandleTypeJavaConstant.MethodHandle.HandleType.ofSpecial(MethodDescription.InDefinedShape methodDescription) Extracts a handle type for invoking the given method via invokespecial.static JavaConstant.MethodHandleJavaConstant.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.