public abstract Kind getKind ()

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

Returns:  the kind of this diagnostic