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
Nested Classes Modifier and Type Interface Description static classInvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapperRepresents wrapper types and types that could be stored in a class's constant pool as such constant pool values.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForBooleanConstantAn argument provider for abooleanvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForByteConstantAn argument provider for abytevalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForCharacterConstantAn argument provider for acharvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForClassConstantAn argument provider for aClassconstant.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForDoubleConstantAn argument provider for adoublevalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForEnumerationValueAn argument provider for anEnumconstant.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForFieldProvides an argument from an existing field.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForFloatConstantAn argument provider for afloatvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForInstanceAn argument provider for a value that is stored in a randomly named static field.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForIntegerConstantAn argument provider for aintvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodInstanceAndParametersAn argument provider that loads a reference to the intercepted instance and all arguments of the intercepted method.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParametersAn argument provider that loads all arguments of the intercepted method.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstantAn argument provider for a Java instance.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForLongConstantAn argument provider for alongvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameterAn argument provider that loads an argument of the intercepted method.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValueAn argument provider for thenullvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForShortConstantAn argument provider for ashortvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForStringConstantAn argument provider for aStringvalue.static classInvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstanceAn argument provider that loads the intercepted instance.static interfaceInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved
-
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.
-
-