Interface DescribedInvocation

  • All Known Subinterfaces:
    Invocation, MatchableInvocation

    public interface DescribedInvocation
    Provides information about the invocation, specifically a human readable description and the location.
    • Method Detail

      • toString

        String toString()
        Describes the invocation in the human friendly way.
        Overrides:
        toString in class Object
        Returns:
        the description of this invocation.
      • getLocation

        Location getLocation()
        The place in the code where the invocation happened.
        Returns:
        the location of the invocation.