类 FormatterDiagnostic
java.lang.Object
com.palantir.javaformat.java.FormatterDiagnostic
An error that prevented formatting from succeeding.
-
方法概要
修饰符和类型方法说明intcolumn()Returns the 0-indexed column number on which the error occurred, or-1if the error does not have a column.static FormatterDiagnosticstatic FormatterDiagnosticintline()Returns the line number on which the error occurred, or-1if the error does not have a line number.message()Returns a description of the problem that prevented formatting from succeeding.toString()
-
方法详细资料
-
create
-
create
-
line
public int line()Returns the line number on which the error occurred, or-1if the error does not have a line number. -
column
public int column()Returns the 0-indexed column number on which the error occurred, or-1if the error does not have a column. -
message
Returns a description of the problem that prevented formatting from succeeding. -
toString
-