Interface Advice.ArgumentHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int THIS_REFERENCE
      The offset of the this reference.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int argument​(int offset)
      Resolves an offset relative to an offset of the instrumented method.
      int enter()
      Resolves the offset of the enter value of the enter advice.
      int returned()
      Resolves the offset of the returned value of the instrumented method.
      int thrown()
      Resolves the offset of the thrown exception of the instrumented method.
    • Field Detail

      • THIS_REFERENCE

        static final int THIS_REFERENCE
        The offset of the this reference.
        See Also:
        Constant Field Values
    • Method Detail

      • argument

        int argument​(int offset)
        Resolves an offset relative to an offset of the instrumented method.
        Parameters:
        offset - The offset to resolve.
        Returns:
        The resolved offset.
      • enter

        int enter()
        Resolves the offset of the enter value of the enter advice.
        Returns:
        The offset of the enter value.
      • returned

        int returned()
        Resolves the offset of the returned value of the instrumented method.
        Returns:
        The offset of the returned value of the instrumented method.
      • thrown

        int thrown()
        Resolves the offset of the thrown exception of the instrumented method.
        Returns:
        The offset of the thrown exception of the instrumented method.