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.ArgumentProviderAn 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
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstrumentedTypeprepare(InstrumentedType instrumentedType)Prepares the instrumented type.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolvedresolve(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.
-
-