|
Préférences
Moteurs de recherche
|
||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.tools
|
Constructor Summary | |
---|---|
DiagnosticCollector()
|
Method Summary | |
---|---|
List<Diagnostic<? extends S>> |
getDiagnostics()
Gets a list view of diagnostics collected by this object. |
void |
report(Diagnostic<? extends S> diagnostic)
Invoked when a problem is found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiagnosticCollector()
Method Detail |
---|
public void report(Diagnostic<? extends S> diagnostic)
DiagnosticListener
report
in interface DiagnosticListener<S>
diagnostic
- a diagnostic representing the problem that
was foundpublic List<Diagnostic<? extends S>> getDiagnostics()