Interface MethodCall.ArgumentLoader.Factory

    • 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.