Class Advice.MethodSizeHandler.Default.WithCopiedArguments

    • Constructor Detail

      • WithCopiedArguments

        protected WithCopiedArguments​(MethodDescription instrumentedMethod,
                                      java.util.List<? extends TypeDescription> enterTypes,
                                      java.util.List<? extends TypeDescription> exitTypes)
        Creates a new default method size handler that expectes the original arguments to be copied.
        Parameters:
        instrumentedMethod - The instrumented method.
        enterTypes - A list of virtual method arguments that are available before the instrumented method is executed.
        exitTypes - A list of virtual method arguments that are available after the instrumented method has completed.