Uses of Interface
javax.tools.Diagnostic

Packages that use Diagnostic 
Package Description
com.sun.source.doctree
Provides interfaces to represent documentation comments as abstract syntax trees (AST).
com.sun.source.util
Provides utilities for operations on abstract syntax trees (AST).
javax.tools
Provides interfaces for tools which can be invoked from a program, for example, compilers.