Class Advice.MethodSizeHandler.Default

    • Field Detail

      • instrumentedMethod

        protected final MethodDescription instrumentedMethod
        The instrumented method.
      • enterTypes

        protected final java.util.List<? extends TypeDescription> enterTypes
        A list of virtual method arguments that are available before the instrumented method is executed.
      • exitTypes

        protected final java.util.List<? extends TypeDescription> exitTypes
        A list of virtual method arguments that are available after the instrumented method has completed.
      • stackSize

        protected int stackSize
        The maximum stack size required by a visited advice method.
      • localVariableLength

        protected int localVariableLength
        The maximum length of the local variable array required by a visited advice method.
    • Constructor Detail

      • Default

        protected Default​(MethodDescription instrumentedMethod,
                          java.util.List<? extends TypeDescription> enterTypes,
                          java.util.List<? extends TypeDescription> exitTypes)
        Creates a new default meta data handler that recomputes the space requirements of an instrumented method.
        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.