| Package | Description |
|---|---|
| com.sun.source.doctree |
Provides interfaces to represent documentation comments as abstract syntax
trees (AST).
|
| javax.tools |
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
| Modifier and Type | Method and Description |
|---|---|
Diagnostic<JavaFileObject> |
ErroneousTree.getDiagnostic()
Gets a diagnostic object giving details about
the reason the body text is in error.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Diagnostic<? extends S>> |
DiagnosticCollector.getDiagnostics()
Gets a list view of diagnostics collected by this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DiagnosticListener.report(Diagnostic<? extends S> diagnostic)
Invoked when a problem is found.
|
void |
DiagnosticCollector.report(Diagnostic<? extends S> diagnostic) |