java.lang.Object
com.google.googlejavaformat.FormatterDiagnostic
An error that prevented formatting from succeeding.
-
Method Summary
Modifier and TypeMethodDescriptionint
column()
Returns the 0-indexed column number on which the error occurred, or-1
if the error does not have a column.static FormatterDiagnostic
static FormatterDiagnostic
int
line()
Returns the line number on which the error occurred, or-1
if the error does not have a line number.message()
Returns a description of the problem that prevented formatting from succeeding.toString()
-
Method Details
-
create
-
create
-
line
public int line()Returns the line number on which the error occurred, or-1
if the error does not have a line number. -
column
public int column()Returns the 0-indexed column number on which the error occurred, or-1
if the error does not have a column. -
message
Returns a description of the problem that prevented formatting from succeeding. -
toString
-