move to revised warning interface in the compiler

This commit is contained in:
Mark Harrah
2012-05-06 14:15:03 -04:00
parent 13e62fd645
commit 99a04466f1
7 changed files with 21 additions and 16 deletions
@@ -26,5 +26,5 @@ public interface AnalysisCallback
public void api(File sourceFile, xsbti.api.SourceAPI source);
/** Provides problems discovered during compilation. These may be reported (logged) or unreported.
* Unreported problems are usually unreported because reporting was not enabled via a command line switch. */
public void problem(Position pos, String msg, Severity severity, boolean reported);
public void problem(String what, Position pos, String msg, Severity severity, boolean reported);
}
@@ -5,6 +5,7 @@ package xsbti;
public interface Problem
{
String category();
Severity severity();
String message();
Position position();