Package net.bytebuddy.implementation
Interface MethodCall.ArgumentLoader.Factory
-
- All Known Implementing Classes:
MethodCall.ArgumentLoader.ForField.Factory,MethodCall.ArgumentLoader.ForInstance.Factory,MethodCall.ArgumentLoader.ForInstrumentedType.Factory,MethodCall.ArgumentLoader.ForMethodParameter.Factory,MethodCall.ArgumentLoader.ForMethodParameter.OfInstrumentedMethod,MethodCall.ArgumentLoader.ForMethodParameterArray.ForInstrumentedMethod,MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfInvokedMethod,MethodCall.ArgumentLoader.ForMethodParameterArrayElement.OfParameter,MethodCall.ArgumentLoader.ForNullConstant,MethodCall.ArgumentLoader.ForStackManipulation,MethodCall.ArgumentLoader.ForThisReference.Factory
- Enclosing interface:
- MethodCall.ArgumentLoader
public static interface MethodCall.ArgumentLoader.FactoryA factory that producesMethodCall.ArgumentLoaders for a given instrumented method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<MethodCall.ArgumentLoader>make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodDescription invokedMethod)Creates any number of argument loaders for an instrumentation.InstrumentedTypeprepare(InstrumentedType instrumentedType)Prepares the instrumented type in order to allow the loading of the represented argument.
-
-
-
Method Detail
-
prepare
InstrumentedType prepare(InstrumentedType instrumentedType)
Prepares the instrumented type in order to allow the loading of the represented argument.- Parameters:
instrumentedType- The instrumented type.- Returns:
- The prepared instrumented type.
-
make
java.util.List<MethodCall.ArgumentLoader> make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodDescription invokedMethod)
Creates any number of argument loaders for an instrumentation.- Parameters:
instrumentedType- The instrumented type.instrumentedMethod- The instrumented method.invokedMethod- The invoked method.- Returns:
- Any number of argument loaders to supply for the method call.
-
-