S - the type of source objects used by diagnostics received by this object
public final class DiagnosticCollector<S> extends Objectimplements DiagnosticListener <S>
| Constructor and Description |
|---|
DiagnosticCollector()
|
| Modifier and Type | Method and Description |
|---|---|
List |
getDiagnostics()
Gets a list view of diagnostics collected by this object.
|
void |
report(Diagnostic
Invoked when a problem is found.
|
public void report(Diagnostic<? extends S> diagnostic)
DiagnosticListener
report in interface
DiagnosticListener<S>
diagnostic - a diagnostic representing the problem that was found
public List<Diagnostic <? extends S>> getDiagnostics()