Liking cljdoc? Tell your friends :D

javax.tools.Diagnostic

Interface for diagnostics from tools. A diagnostic usually reports a problem at a specific position in a source file. However, not all diagnostics are associated with a position or a file.

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.

Interface for diagnostics from tools.  A diagnostic usually reports
a problem at a specific position in a source file.  However, not
all diagnostics are associated with a position or a file.

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.
raw docstring

get-codeclj

(get-code this)

Gets a diagnostic code indicating the type of diagnostic. The code is implementation-dependent and might be null.

returns: a diagnostic code - java.lang.String

Gets a diagnostic code indicating the type of diagnostic.  The
 code is implementation-dependent and might be null.

returns: a diagnostic code - `java.lang.String`
raw docstring

get-column-numberclj

(get-column-number this)

Gets the column number of the character offset returned by getPosition().

returns: a column number or NOPOS if and only if getPosition() returns NOPOS - long

Gets the column number of the character offset returned by
 getPosition().

returns: a column number or NOPOS if and only if getPosition() returns NOPOS - `long`
raw docstring

get-end-positionclj

(get-end-position this)

Gets the character offset from the beginning of the file associated with this diagnostic that indicates the end of the problem.

returns: offset from beginning of file; NOPOS if and only if getPosition() returns NOPOS - long

Gets the character offset from the beginning of the file
 associated with this diagnostic that indicates the end of the
 problem.

returns: offset from beginning of file; NOPOS if and
 only if getPosition() returns NOPOS - `long`
raw docstring

get-kindclj

(get-kind this)

Gets the kind of this diagnostic, for example, error or warning.

returns: the kind of this diagnostic - javax.tools.Diagnostic$Kind

Gets the kind of this diagnostic, for example, error or
 warning.

returns: the kind of this diagnostic - `javax.tools.Diagnostic$Kind`
raw docstring

get-line-numberclj

(get-line-number this)

Gets the line number of the character offset returned by getPosition().

returns: a line number or NOPOS if and only if getPosition() returns NOPOS - long

Gets the line number of the character offset returned by
 getPosition().

returns: a line number or NOPOS if and only if getPosition() returns NOPOS - `long`
raw docstring

get-messageclj

(get-message this locale)

Gets a localized message for the given locale. The actual message is implementation-dependent. If the locale is null use the default locale.

locale - a locale; might be null - java.util.Locale

returns: a localized message - java.lang.String

Gets a localized message for the given locale.  The actual
 message is implementation-dependent.  If the locale is null use the default locale.

locale - a locale; might be null - `java.util.Locale`

returns: a localized message - `java.lang.String`
raw docstring

get-positionclj

(get-position this)

Gets a character offset from the beginning of the source object associated with this diagnostic that indicates the location of the problem. In addition, the following must be true:

getStartPostion() <= getPosition() getPosition() <= getEndPosition()

returns: character offset from beginning of source; NOPOS if getSource() would return null or if no location is suitable - long

Gets a character offset from the beginning of the source object
 associated with this diagnostic that indicates the location of
 the problem.  In addition, the following must be true:

 getStartPostion() <= getPosition()
 getPosition() <= getEndPosition()

returns: character offset from beginning of source; NOPOS if getSource() would return null or if
 no location is suitable - `long`
raw docstring

get-sourceclj

(get-source this)

Gets the source object associated with this diagnostic.

returns: the source object associated with this diagnostic. null if no source object is associated with the diagnostic. - S

Gets the source object associated with this diagnostic.

returns: the source object associated with this diagnostic.
 null if no source object is associated with the
 diagnostic. - `S`
raw docstring

get-start-positionclj

(get-start-position this)

Gets the character offset from the beginning of the file associated with this diagnostic that indicates the start of the problem.

returns: offset from beginning of file; NOPOS if and only if getPosition() returns NOPOS - long

Gets the character offset from the beginning of the file
 associated with this diagnostic that indicates the start of the
 problem.

returns: offset from beginning of file; NOPOS if and
 only if getPosition() returns NOPOS - `long`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close