For AI agents: the documentation index is at
https://docs.gradle.org/llms.txt
. Request any page with the header
Accept: text/markdown
to get Markdown. User manual pages are also available as Markdown by replacing
.html
with
.md
in the URL.
gradle
Toggle table of contents
9.9.2
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.tasks.testing.source
/
FilePosition
File
Position
API
@
Incubating
interface
FilePosition
(
source
)
Position inside a file represented by line and column numbers.
Since
9.4.0
Members
Functions
get
Column
Link copied to clipboard
API
@
Nullable
abstract
fun
getColumn
(
)
:
@
Nullable
Integer
The column number of this FilePosition, if available.
get
Line
Link copied to clipboard
API
abstract
fun
getLine
(
)
:
Int
The line number in the file.