Package org.gradle.api.tasks.testing.source

# Interface FilePosition

@Incubating public interface FilePosition
Position inside a file represented by line and column numbers.

Since:
  9.4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `@Nullable Integer`
  `getColumn()`
  The column number of this FilePosition, if available.
  `int`
  `getLine()`
  The line number in the file.

- ## Method Details

  - ### getLine

    int getLine()
    The line number in the file.

    The result is 1-based, i.e. the first line in the file is line 1.

    Since:
      9.4.0

  - ### getColumn

    @Nullable Integer getColumn()
    The column number of this FilePosition, if available.
    Since:
      9.4.0