Package net.bytebuddy.implementation
Enum InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters
java.lang.Object
java.lang.Enum<InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters>
net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters
- All Implemented Interfaces:
Serializable
,Comparable<InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters>
,java.lang.constant.Constable
,InvokeDynamic.InvocationProvider.ArgumentProvider
- Enclosing interface:
InvokeDynamic.InvocationProvider.ArgumentProvider
public static enum InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters
extends Enum<InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters>
implements InvokeDynamic.InvocationProvider.ArgumentProvider
An argument provider that loads all arguments of the intercepted method.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.InvokeDynamic.InvocationProvider.ArgumentProvider
InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper, InvokeDynamic.InvocationProvider.ArgumentProvider.ForBooleanConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForByteConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForCharacterConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForClassConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForDoubleConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForEnumerationValue, InvokeDynamic.InvocationProvider.ArgumentProvider.ForField, InvokeDynamic.InvocationProvider.ArgumentProvider.ForFloatConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForInstance, InvokeDynamic.InvocationProvider.ArgumentProvider.ForIntegerConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodInstanceAndParameters, InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters, InvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForLongConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter, InvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValue, InvokeDynamic.InvocationProvider.ArgumentProvider.ForShortConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForStringConstant, InvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstance, InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprepare
(InstrumentedType instrumentedType) Prepares the instrumented type.resolve
(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
public static final InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters INSTANCEThe singleton instance.
-
-
Constructor Details
-
ForInterceptedMethodParameters
private ForInterceptedMethodParameters()
-
-
Method Details
-
values
public static InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters[] values()Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
resolve
public InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.- Specified by:
resolve
in interfaceInvokeDynamic.InvocationProvider.ArgumentProvider
- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.assigner
- The assigner to be used.typing
- Indicates if dynamic type castings should be attempted for incompatible assignments.- Returns:
- A resolved version of this argument provider.
-
prepare
Prepares the instrumented type.- Specified by:
prepare
in interfaceInvokeDynamic.InvocationProvider.ArgumentProvider
- Parameters:
instrumentedType
- The instrumented type.- Returns:
- The prepared instrumented type.
-