public class SemanticdbReporter
extends java.lang.Object
NOTE(olafur): this class exists because I couldn't find compiler APIs to report diagnostics. This class can be removed if the Java compiler has APIs to report info/warning/error messages.
| Constructor and Description |
|---|
SemanticdbReporter(com.sun.source.util.Trees trees) |
| Modifier and Type | Method and Description |
|---|---|
void |
error(java.lang.String message,
com.sun.source.util.TaskEvent e) |
void |
error(java.lang.String message,
com.sun.source.tree.Tree tree,
com.sun.source.tree.CompilationUnitTree root) |
void |
exception(java.lang.Throwable e,
com.sun.source.util.TaskEvent task) |
void |
exception(java.lang.Throwable e,
com.sun.source.tree.Tree tree,
com.sun.source.tree.CompilationUnitTree root) |
void |
info(java.lang.String message,
com.sun.source.util.TaskEvent e) |
public void exception(java.lang.Throwable e,
com.sun.source.tree.Tree tree,
com.sun.source.tree.CompilationUnitTree root)
public void exception(java.lang.Throwable e,
com.sun.source.util.TaskEvent task)
public void info(java.lang.String message,
com.sun.source.util.TaskEvent e)
public void error(java.lang.String message,
com.sun.source.util.TaskEvent e)
public void error(java.lang.String message,
com.sun.source.tree.Tree tree,
com.sun.source.tree.CompilationUnitTree root)