A position is a zero-based character offset from the beginning of a file. Negative values (except #NOPOS ) are not valid positions.
Line and column numbers begin at 1. Negative values (except #NOPOS ) and 0 are not valid line or column numbers.
- the type of source object used by this diagnosticPeter - von der AhéJonathan - Gibbons1.6 - | Nested Class Summary: | ||
|---|---|---|
| enum class | Diagnostic.Kind | Kinds of diagnostics, for example, error or warning. |
| Field Summary | ||
|---|---|---|
| public static final long | NOPOS | Used to signal that no position is available. |
| Method from javax.tools.Diagnostic Summary: |
|---|
| getCode, getColumnNumber, getEndPosition, getKind, getLineNumber, getMessage, getPosition, getSource, getStartPosition |
| Method from javax.tools.Diagnostic Detail: |
|---|
|
|
|
|
|
|
{@code getStartPostion() <= getPosition()} {@code getPosition() <= getEndPosition()} |
|
|