Uses of Interface
net.bytebuddy.description.method.ParameterDescription
-
Packages that use ParameterDescription Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.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.implementation The implementation package contains any logic for intercepting method calls.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.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. -
-
Uses of ParameterDescription in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as ParameterDescription Modifier and Type Field Description private ParameterDescription
Advice.OffsetMapping.ForArgument.Resolved.Factory. parameterDescription
The bound parameter.private ParameterDescription
Advice.OffsetMapping.ForArgument.Resolved. parameterDescription
The parameter being bound.Methods in net.bytebuddy.asm that return ParameterDescription Modifier and Type Method Description protected 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 ParameterDescription Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bind(java.lang.Class<T> type, ParameterDescription parameterDescription)
Binds the supplied annotation to the supplied parameter's argument.Constructors in net.bytebuddy.asm with parameters of type ParameterDescription Constructor Description Factory(java.lang.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(java.lang.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.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 ParameterDescription Modifier and Type Interface Description interface
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.method Modifier and Type Interface Description static interface
ParameterDescription.InDefinedShape
Represents a parameter in its defined shape, i.e.static interface
ParameterDescription.InGenericShape
Represents a parameter description in its generic shape, i.e.Classes in net.bytebuddy.description.method that implement ParameterDescription Modifier and Type Class Description static class
ParameterDescription.AbstractBase
A base implementation of a method parameter description.static class
ParameterDescription.ForLoadedParameter<T extends java.lang.reflect.AccessibleObject>
Description of a loaded parameter with support for the information exposed byjava.lang.reflect.Parameter
.protected static class
ParameterDescription.ForLoadedParameter.OfConstructor
A description of a loadedConstructor
parameter for a modern VM.protected static class
ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor
Description of a loaded constructor's parameter on a virtual machine wherejava.lang.reflect.Parameter
is not available.protected static class
ParameterDescription.ForLoadedParameter.OfLegacyVmMethod
Description of a loaded method's parameter on a virtual machine wherejava.lang.reflect.Parameter
is not available.protected static class
ParameterDescription.ForLoadedParameter.OfMethod
A description of a loadedMethod
parameter for a modern VM.static class
ParameterDescription.InDefinedShape.AbstractBase
An abstract base implementation of a parameter description in its defined shape.static class
ParameterDescription.Latent
A latent description of a parameter that is not attached to a method or constructor.static class
ParameterDescription.TypeSubstituting
A parameter description that represents a given parameter but with a substituted parameter type.Fields in net.bytebuddy.description.method declared as ParameterDescription Modifier and Type Field Description private ParameterDescription
ParameterDescription.TypeSubstituting. parameterDescription
The represented parameter.Fields in net.bytebuddy.description.method with type parameters of type ParameterDescription Modifier and Type Field Description private java.util.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 ParameterDescription Constructor Description Explicit(S... parameterDescription)
Creates 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 ParameterDescription Constructor Description TypeSubstituting(MethodDescription.InGenericShape declaringMethod, java.util.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 ParameterDescription Modifier and Type Method Description static TypeList.Generic
TypeList.Generic.ForDetachedTypes. attach(ParameterDescription parameterDescription, java.util.List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided parameter.static TypeDescription.Generic.Visitor.Substitutor.ForAttachment
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 ParameterDescription Modifier and Type Class Description protected class
Transformer.ForMethod.TransformedMethod.TransformedParameter
A transformed method's parameter.Methods in net.bytebuddy.dynamic that return ParameterDescription Modifier and Type Method Description ParameterDescription
Transformer.ForMethod.TransformedMethod.TransformedParameterList. get(int index)
-
Uses of ParameterDescription in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as ParameterDescription Modifier and Type Field Description private ParameterDescription
MethodCall.ArgumentLoader.ForMethodParameterArrayElement. parameterDescription
The parameter to load the array from.private 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 ParameterDescription Modifier and Type Method Description StackManipulation
MethodCall.ArgumentLoader.ForField. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForInstance. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForInstrumentedType. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForMethodCall. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForMethodParameter. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForMethodParameterArray. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForMethodParameterArrayElement. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForNullConstant. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForStackManipulation. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
MethodCall.ArgumentLoader.ForThisReference. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)
Loads the argument that is represented by this instance onto the operand stack.StackManipulation
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 ParameterDescription Constructor Description ForMethodParameterArrayElement(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.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 ParameterDescription Modifier and Type Field Description private ParameterDescription
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound. target
The target parameter being handled.private ParameterDescription
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound. target
The target parameter being handled.Methods in net.bytebuddy.implementation.bind.annotation with parameters of type ParameterDescription Modifier and Type Method Description MethodDelegationBinder.ParameterBinding<?>
AllArguments.Binder. bind(AnnotationDescription.Loadable<AllArguments> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner, Assigner.Typing typing)
Creates a parameter binding for the given target parameter.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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)
MethodDelegationBinder.ParameterBinding<?>
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)
MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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.MethodDelegationBinder.ParameterBinding<?>
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 java.lang.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
.MethodDelegationBinder.ParameterBinding<?>
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 java.lang.Object
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue.OfConstant. bind(AnnotationDescription.Loadable<U> annotation, MethodDescription source, ParameterDescription target)
MethodDelegationBinder.ParameterBinding<?>
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.protected TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
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 ParameterDescription Constructor Description Bound(ParameterDescription target, TargetMethodAnnotationDrivenBinder.ParameterBinder<T> parameterBinder, AnnotationDescription.Loadable<T> annotation, Assigner.Typing typing)
Creates a new bound handler.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 ParameterDescription Modifier and Type Method Description static 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 ParameterDescription Modifier and Type Class Description class
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 ParameterDescription Modifier and Type Method Description static <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 ParameterDescription Modifier and Type Method Description static <T extends MethodDescription>
ElementMatcher.Junction<T>ElementMatchers. hasParameters(ElementMatcher<? super java.lang.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 ParameterDescription Constructor Description MethodParametersMatcher(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 ParameterDescription Modifier and Type Class Description private class
TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterDescription
A lazy description of a parameters of the enclosing method.
-