报告位置
Issue Location
/**
* Returns the file containing the warning. Note that the file *itself* may
* not yet contain the error. When editing a file in the IDE for example,
* the tool could generate warnings in the background even before the
* document is saved. However, the file is used as a identifying token for
* the document being edited, and the IDE integration can map this back to
* error locations in the editor source code.
*
* @return the file handle for the location
*/
val file: File
/**
* The start position of the range
*
* @return the start position of the range, or null
*/
val start: Position?
/**
* The end position of the range
*
* @return the start position of the range, may be null for an empty range
*/
val end: Position?
/**
* Returns a secondary location associated with this location (if
* applicable), or null.
*/
open var secondary: Location? = null