Uses of Class javax.tools.Diagnostic.Kind (Java Platform SE 8 )
Date: 2023-01-18

## Uses of Class
javax.tools.Diagnostic.Kind

- Packages that use Diagnostic.Kind
  Package | Description
  --- | ---
  javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
  javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers.

- - ### Uses of Diagnostic.Kind in javax.annotation.processing

    Methods in javax.annotation.processing with parameters of type Diagnostic.Kind
    Modifier and Type | Method and Description
    --- | ---
    `void` | Messager.`printMessage(Diagnostic.Kind kind, CharSequence msg)` Prints a message of the specified kind.
    `void` | Messager.`printMessage(Diagnostic.Kind kind, CharSequence msg, Element e)` Prints a message of the specified kind at the location of the element.
    `void` | Messager.`printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a)` Prints a message of the specified kind at the location of the annotation mirror of the annotated element.
    `void` | Messager.`printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v)` Prints a message of the specified kind at the location of the annotation value inside the annotation mirror of the annotated element.

  - ### Uses of Diagnostic.Kind in javax.tools

    Methods in javax.tools that return Diagnostic.Kind
    Modifier and Type | Method and Description
    --- | ---
    `Diagnostic.Kind` | Diagnostic.`getKind()` Gets the kind of this diagnostic, for example, error or warning.
    `static Diagnostic.Kind` | Diagnostic.Kind.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Diagnostic.Kind[]` | Diagnostic.Kind.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.