Interface CodeLocation

  • All Superinterfaces:
    java.lang.Comparable<CodeLocation>
    All Known Implementing Classes:
    SourceCodeLocation, SyntheticLocation

    public interface CodeLocation
    extends java.lang.Comparable<CodeLocation>
    A generic interface for representing the location of an element in the source code (e.g., source/line/column, source/offset, ...).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCodeLocation()
      Yields the string code location representation.
      • Methods inherited from interface java.lang.Comparable

        compareTo
    • Method Detail

      • getCodeLocation

        java.lang.String getCodeLocation()
        Yields the string code location representation.
        Returns:
        the string code location representation