Example usage for Java javax.tools Diagnostic fields, constructors, methods, implement or subclass
The text is from its open source code.
String | getCode() Returns a diagnostic code indicating the type of diagnostic. |
long | getColumnNumber() Returns the column number of the character offset returned by #getPosition() . |
long | getEndPosition() Returns the character offset from the beginning of the file associated with this diagnostic that indicates the end of the problem. |
Kind | getKind() Returns the kind of this diagnostic, for example, error or warning. |
long | getLineNumber() Returns the line number of the character offset returned by #getPosition() . |
String | getMessage(Locale locale) Returns a localized message for the given locale. |
long | getPosition() Returns a character offset from the beginning of the source object associated with this diagnostic that indicates the location of the problem. |
S | getSource() Returns the source object associated with this diagnostic. |
long | getStartPosition() Returns the character offset from the beginning of the file associated with this diagnostic that indicates the start of the problem. |
String | toString() Returns a string representation of the object. |