Interface DescribedInvocation

All Known Subinterfaces:
Invocation, MatchableInvocation

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

    Modifier and Type
    Method
    Description
    The place in the code where the invocation happened.
    Describes the invocation in the human friendly way.
  • Method Details

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