Schnittstelle OffsetInFileLocation

Alle Superschnittstellen:
FileLocation, Location

@Incubating public interface OffsetInFileLocation extends FileLocation
A basic location pointing to a specific part of a file using a global offset and length for coordinates.

The coordinates are expected to be zero indexed.

Seit:
8.6
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    The length of the content starting from getOffset().
    int
    The global offset from the beginning of the file.

    Von Schnittstelle geerbte Methoden org.gradle.tooling.events.problems.FileLocation

    getPath
  • Methodendetails

    • getOffset

      int getOffset()
      The global offset from the beginning of the file.
      Gibt zurück:
      the zero-indexed offset
      Seit:
      8.6
    • getLength

      int getLength()
      The length of the content starting from getOffset().
      Gibt zurück:
      the length
      Seit:
      8.6