Package net.bytebuddy.implementation
Interface InvokeDynamic.InvocationProvider.ArgumentProvider
-
- All Known Implementing Classes:
InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.WrappingArgumentProvider
,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.ForField.WithExplicitType
,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.ForMethodParameter.WithExplicitType
,InvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValue
,InvokeDynamic.InvocationProvider.ArgumentProvider.ForShortConstant
,InvokeDynamic.InvocationProvider.ArgumentProvider.ForStringConstant
,InvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstance
- Enclosing interface:
- InvokeDynamic.InvocationProvider
public static interface InvokeDynamic.InvocationProvider.ArgumentProvider
An argument provider is responsible for loading arguments to a bootstrapped method onto the operand stack and providing the types of these arguments.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper
Represents wrapper types and types that could be stored in a class's constant pool as such constant pool values.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForBooleanConstant
An argument provider for aboolean
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForByteConstant
An argument provider for abyte
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForCharacterConstant
An argument provider for achar
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForClassConstant
An argument provider for aClass
constant.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForDoubleConstant
An argument provider for adouble
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForEnumerationValue
An argument provider for anEnum
constant.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForField
Provides an argument from an existing field.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForFloatConstant
An argument provider for afloat
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForInstance
An argument provider for a value that is stored in a randomly named static field.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForIntegerConstant
An argument provider for aint
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodInstanceAndParameters
An argument provider that loads a reference to the intercepted instance and all arguments of the intercepted method.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters
An argument provider that loads all arguments of the intercepted method.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant
An argument provider for a Java instance.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForLongConstant
An argument provider for along
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter
An argument provider that loads an argument of the intercepted method.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValue
An argument provider for thenull
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForShortConstant
An argument provider for ashort
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForStringConstant
An argument provider for aString
value.static class
InvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstance
An argument provider that loads the intercepted instance.static interface
InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstrumentedType
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing)
Resolves an argument provider.
-
-
-
Method Detail
-
resolve
InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing)
Resolves an argument provider.- 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
InstrumentedType prepare(InstrumentedType instrumentedType)
Prepares the instrumented type.- Parameters:
instrumentedType
- The instrumented type.- Returns:
- The prepared instrumented type.
-
-