Uses of Interface
net.bytebuddy.description.method.ParameterDescription
Packages that use ParameterDescription
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
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.
The implementation package contains any logic for intercepting method calls.
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.
StackManipulation
s of this package are responsible for
accessing type or method members, i.e.Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescription
s without
loading any classes.-
Uses of ParameterDescription in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as ParameterDescriptionModifier and TypeFieldDescriptionprivate final ParameterDescription
Advice.OffsetMapping.ForArgument.Resolved.Factory.parameterDescription
The bound parameter.private final ParameterDescription
Advice.OffsetMapping.ForArgument.Resolved.parameterDescription
The parameter being bound.Methods in net.bytebuddy.asm that return ParameterDescriptionModifier and TypeMethodDescriptionprotected abstract ParameterDescription
Advice.OffsetMapping.ForArgument.resolve
(MethodDescription instrumentedMethod) Resolves the bound parameter.protected ParameterDescription
Advice.OffsetMapping.ForArgument.Resolved.resolve
(MethodDescription instrumentedMethod) protected ParameterDescription
Advice.OffsetMapping.ForArgument.Unresolved.resolve
(MethodDescription instrumentedMethod) Methods in net.bytebuddy.asm with parameters of type ParameterDescriptionModifier and TypeMethodDescription<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind
(Class<T> type, ParameterDescription parameterDescription) Binds the supplied annotation to the supplied parameter's argument.Constructors in net.bytebuddy.asm with parameters of type ParameterDescriptionModifierConstructorDescriptionFactory
(Class<T> annotationType, ParameterDescription parameterDescription) Creates a new factory for binding a parameter of the instrumented method with read-only semantics and static typing.Factory
(Class<T> annotationType, ParameterDescription parameterDescription, boolean readOnly, Assigner.Typing typing) Creates a new factory for binding a parameter of the instrumented method.Resolved
(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, ParameterDescription parameterDescription) Creates an offset mapping that binds a parameter of the instrumented method.protected
Unresolved
(ParameterDescription parameterDescription) Creates a new offset binding for a parameter with a given index. -
Uses of ParameterDescription in net.bytebuddy.description.method
Classes in net.bytebuddy.description.method with type parameters of type ParameterDescriptionModifier and TypeInterfaceDescriptioninterface
ParameterList<T extends ParameterDescription>
Represents a list of parameters of a method or a constructor.static class
ParameterList.AbstractBase<S extends ParameterDescription>
An base implementation for aParameterList
.static class
ParameterList.Empty<S extends ParameterDescription>
An empty list of parameters.static class
ParameterList.Explicit<S extends ParameterDescription>
A list of explicitly provided parameter descriptions.Subinterfaces of ParameterDescription in net.bytebuddy.description.methodModifier and TypeInterfaceDescriptionstatic interface
Represents a parameter in its defined shape, i.e.static interface
Represents a parameter description in its generic shape, i.e.Classes in net.bytebuddy.description.method that implement ParameterDescriptionModifier and TypeClassDescriptionstatic class
A base implementation of a method parameter description.static class
Description of a loaded parameter with support for the information exposed byjava.lang.reflect.Parameter
.protected static class
A description of a loadedConstructor
parameter for a modern VM.protected static class
Description of a loaded constructor's parameter on a virtual machine wherejava.lang.reflect.Parameter
is not available.protected static class
Description of a loaded method's parameter on a virtual machine wherejava.lang.reflect.Parameter
is not available.protected static class
A description of a loadedMethod
parameter for a modern VM.static class
An abstract base implementation of a parameter description in its defined shape.static class
A latent description of a parameter that is not attached to a method or constructor.static class
A parameter description that represents a given parameter but with a substituted parameter type.Fields in net.bytebuddy.description.method declared as ParameterDescriptionModifier and TypeFieldDescriptionprivate final ParameterDescription
ParameterDescription.TypeSubstituting.parameterDescription
The represented parameter.Fields in net.bytebuddy.description.method with type parameters of type ParameterDescriptionModifier and TypeFieldDescriptionprivate final List<? extends ParameterDescription>
ParameterList.TypeSubstituting.parameterDescriptions
The untransformed parameters that are represented by this list.Constructors in net.bytebuddy.description.method with parameters of type ParameterDescriptionModifierConstructorDescriptionCreates a new list of explicit parameter descriptions.TypeSubstituting
(MethodDescription.InGenericShape declaringMethod, ParameterDescription parameterDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting parameter.Constructor parameters in net.bytebuddy.description.method with type arguments of type ParameterDescriptionModifierConstructorDescriptionTypeSubstituting
(MethodDescription.InGenericShape declaringMethod, List<? extends ParameterDescription> parameterDescriptions, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) Creates a new type substituting parameter list. -
Uses of ParameterDescription in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type with parameters of type ParameterDescriptionModifier and TypeMethodDescriptionstatic TypeList.Generic
TypeList.Generic.ForDetachedTypes.attach
(ParameterDescription parameterDescription, List<? extends TypeDescription.Generic> detachedTypes) Creates a list of types that are attached to the provided parameter.TypeDescription.Generic.Visitor.Substitutor.ForAttachment.of
(ParameterDescription parameterDescription) Attaches all types to the given parameter description. -
Uses of ParameterDescription in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement ParameterDescriptionModifier and TypeClassDescriptionprotected class
A transformed method's parameter.Methods in net.bytebuddy.dynamic that return ParameterDescriptionModifier and TypeMethodDescriptionTransformer.ForMethod.TransformedMethod.TransformedParameterList.get
(int index) -
Uses of ParameterDescription in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as ParameterDescriptionModifier and TypeFieldDescriptionprivate final ParameterDescription
MethodCall.ArgumentLoader.ForMethodParameterArrayElement.parameterDescription
The parameter to load the array from.private final ParameterDescription
MethodCall.TargetHandler.ForMethodParameter.Resolved.parameterDescription
The parameter that is the target of the method call.Methods in net.bytebuddy.implementation with parameters of type ParameterDescriptionModifier and TypeMethodDescriptionMethodCall.ArgumentLoader.ForField.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForInstance.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForInstrumentedType.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForMethodCall.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForMethodParameter.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForMethodParameterArray.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForMethodParameterArrayElement.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForNullConstant.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForStackManipulation.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.ForThisReference.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.MethodCall.ArgumentLoader.toStackManipulation
(ParameterDescription target, Assigner assigner, Assigner.Typing typing) Loads the argument that is represented by this instance onto the operand stack.Constructors in net.bytebuddy.implementation with parameters of type ParameterDescriptionModifierConstructorDescriptionForMethodParameterArrayElement
(ParameterDescription parameterDescription, int index) Creates an argument loader for a parameter of the instrumented method where an array element is assigned to the invoked method.protected
Resolved
(ParameterDescription parameterDescription) Creates a new resolved target handler for a parameter. -
Uses of ParameterDescription in net.bytebuddy.implementation.bind.annotation
Fields in net.bytebuddy.implementation.bind.annotation declared as ParameterDescriptionModifier and TypeFieldDescriptionprivate final ParameterDescription
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound.target
The target parameter being handled.private final ParameterDescription
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound.target
The target parameter being handled.Methods in net.bytebuddy.implementation.bind.annotation with parameters of type ParameterDescriptionModifier and TypeMethodDescriptionAllArguments.Binder.bind
(AnnotationDescription.Loadable<AllArguments> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Argument.Binder.bind
(AnnotationDescription.Loadable<Argument> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Default.Binder.bind
(AnnotationDescription.Loadable<Default> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.DefaultCall.Binder.bind
(AnnotationDescription.Loadable<DefaultCall> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.DefaultMethod.Binder.bind
(AnnotationDescription.Loadable<DefaultMethod> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Empty.Binder.bind
(AnnotationDescription.Loadable<Empty> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected MethodDelegationBinder.ParameterBinding<?>
FieldProxy.Binder.bind
(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldProxy> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) FieldValue.Binder.bind
(AnnotationDescription.Loadable<FieldValue> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected MethodDelegationBinder.ParameterBinding<?>
FieldValue.Binder.Delegate.bind
(FieldDescription fieldDescription, AnnotationDescription.Loadable<FieldValue> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) Morph.Binder.bind
(AnnotationDescription.Loadable<Morph> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Origin.Binder.bind
(AnnotationDescription.Loadable<Origin> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Pipe.Binder.bind
(AnnotationDescription.Loadable<Pipe> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.StubValue.Binder.bind
(AnnotationDescription.Loadable<StubValue> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.Super.Binder.bind
(AnnotationDescription.Loadable<Super> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.SuperCall.Binder.bind
(AnnotationDescription.Loadable<SuperCall> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.SuperMethod.Binder.bind
(AnnotationDescription.Loadable<SuperMethod> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.TargetMethodAnnotationDrivenBinder.ParameterBinder.bind
(AnnotationDescription.Loadable<T> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding.bind
(AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected abstract MethodDelegationBinder.ParameterBinding<?>
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding.bind
(FieldDescription fieldDescription, AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner) Creates a parameter binding for the given target parameter.protected abstract Object
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.bind
(AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target) Resolves a value for the given annotation on a parameter that is processed by aMethodDelegation
.TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.bind
(AnnotationDescription.Loadable<S> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected Object
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant.bind
(AnnotationDescription.Loadable<U> annotation, MethodDescription source, ParameterDescription target) This.Binder.bind
(AnnotationDescription.Loadable<This> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing) Creates a parameter binding for the given target parameter.protected static TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound.of
(ParameterDescription target, TargetMethodAnnotationDrivenBinder.ParameterBinder<?> parameterBinder, AnnotationDescription annotation, Assigner.Typing typing) Creates a handler for a given annotation.TargetMethodAnnotationDrivenBinder.DelegationProcessor.prepare
(ParameterDescription target) Locates a handler which is responsible for processing the given parameter.Constructors in net.bytebuddy.implementation.bind.annotation with parameters of type ParameterDescriptionModifierConstructorDescriptionprotected
Bound
(ParameterDescription target, TargetMethodAnnotationDrivenBinder.ParameterBinder<T> parameterBinder, AnnotationDescription.Loadable<T> annotation, Assigner.Typing typing) Creates a new bound handler.protected
Unbound
(ParameterDescription target, Assigner.Typing typing) Creates a new unbound handler. -
Uses of ParameterDescription in net.bytebuddy.implementation.bytecode.member
Methods in net.bytebuddy.implementation.bytecode.member with parameters of type ParameterDescriptionModifier and TypeMethodDescriptionstatic StackManipulation
MethodVariableAccess.increment
(ParameterDescription parameterDescription, int value) Increments the value of the supplied parameter.static StackManipulation
MethodVariableAccess.load
(ParameterDescription parameterDescription) Loads a parameter's value onto the operand stack.static StackManipulation
MethodVariableAccess.store
(ParameterDescription parameterDescription) Stores the top operand stack value at the supplied parameter. -
Uses of ParameterDescription in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher with type parameters of type ParameterDescriptionModifier and TypeClassDescriptionclass
MethodParameterTypeMatcher<T extends ParameterDescription>
An element matcher that matches a method's parameter's type.Methods in net.bytebuddy.matcher with type parameters of type ParameterDescriptionModifier and TypeMethodDescriptionstatic <T extends ParameterDescription>
ElementMatcher.Junction<T>ElementMatchers.definedParameter
(ElementMatcher<? super ParameterDescription.InDefinedShape> matcher) Matches a parameter in its defined shape.static <T extends ParameterDescription>
ElementMatcher.Junction<T>ElementMatchers.hasGenericType
(ElementMatcher<? super TypeDescription.Generic> matcher) Matches a method parameter by its generic type.static <T extends ParameterDescription>
ElementMatcher.Junction<T>ElementMatchers.hasType
(ElementMatcher<? super TypeDescription> matcher) Matches a parameter's type by the given matcher.static <T extends ParameterDescription>
ElementMatcher.Junction<T>ElementMatchers.is
(ParameterDescription.InDefinedShape parameter) Exactly matches a given parameter as aParameterDescription
in its defined shape.static <T extends ParameterDescription>
ElementMatcher.Junction<T>ElementMatchers.isMandated()
Matches a parameter description for amandated
parameter.Method parameters in net.bytebuddy.matcher with type arguments of type ParameterDescriptionModifier and TypeMethodDescriptionstatic <T extends MethodDescription>
ElementMatcher.Junction<T>ElementMatchers.hasParameters
(ElementMatcher<? super Iterable<? extends ParameterDescription>> matcher) Matches aMethodDescription
by validating that its parameters fulfill a given constraint.Constructor parameters in net.bytebuddy.matcher with type arguments of type ParameterDescriptionModifierConstructorDescriptionMethodParametersMatcher
(ElementMatcher<? super ParameterList<? extends ParameterDescription>> matcher) Creates a new matcher for a method's parameters. -
Uses of ParameterDescription in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement ParameterDescriptionModifier and TypeClassDescriptionprivate class
A lazy description of a parameters of the enclosing method.