The diagnostic, parse trees, and com.sun.source.util.Trees instance for a parse task.
Note: It is possible for the com.sun.source.util.Trees instance contained within a ParseResult
to be invalidated by a call to com.sun.tools.javac.api.JavacTaskImpl#cleanup(). Though
we do not currently expose the JavacTask used to create a ParseResult to cleanup() calls on its underlying implementation, this should be acknowledged as an
implementation detail that could cause unexpected behavior when making calls to methods in
com.sun.source.util.Trees.
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Iterable<? extends com.sun.source.tree.CompilationUnitTree> |
compilationUnits() |
|
com.google.common.collect.ImmutableListMultimap<Diagnostic.Kind, javax.tools.Diagnostic<? extends javax.tools.JavaFileObject>> |
diagnosticsByKind() |
|
com.sun.source.util.Trees |
trees() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |