|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CompileMessageRecorder
Interface to environment's message mechanism for compiler diagnostics. This my be writing to stderr, updating a GUI compile status window, or the like.
| Nested Class Summary | |
|---|---|
static class |
CompileMessageRecorder.Severity
|
| Method Summary | |
|---|---|
void |
beginProcessing(java.io.File file)
Record that compile processing has begun for the given file. |
void |
endProcessing(java.io.File file)
Record that compile processing is complete for the given file. |
CompileMessageRecorder.Severity |
getMaxSeverity()
|
void |
recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message)
Convenience method, equivalent to recordMessage(severity, code, message, null, null, null) |
void |
recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message,
SourceLocation location,
java.lang.Object astNode)
Convenience method, equivalent to recordMessage(severity, code, message, location, astNode, null) |
void |
recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message,
SourceLocation location,
java.lang.Object astNode,
java.lang.Throwable exception)
Record a compile problem message. |
void |
recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message,
SourceLocation location,
java.lang.Throwable exception)
Convenience method, equivalent to recordMessage(severity, code, message, location, null, exception) |
| Method Detail |
|---|
void beginProcessing(java.io.File file)
file - File for which compiler processing is beginning
void recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message,
SourceLocation location,
java.lang.Object astNode,
java.lang.Throwable exception)
severity - CompileMessageRecorder.Severity of this messagecode - integer code of this message (potentially used for filtering, is supported by the environment}message - String localized message specifically describing problem for the complier userlocation - SourceLocation where problem occurred. Indicate unknown location with a partially filled SourceLocation.astNode - ASTNode subtree containing problem, or null if not applicable or not available.exception - Throwable indicating problem, or null if not applicable or not available.
void recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message,
SourceLocation location,
java.lang.Throwable exception)
recordMessage(severity, code, message, location, null, exception)
severity - CompileMessageRecorder.Severity of this messagecode - integer code of this message (potentially used for filtering, is supported by the environment}message - String localized message specifically describing problem for the complier userlocation - SourceLocation where problem occurred. Indicate unknown location with a partially filled SourceLocation.exception - Throwable indicating problem, or null if not applicable or not available.
void recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message,
SourceLocation location,
java.lang.Object astNode)
recordMessage(severity, code, message, location, astNode, null)
severity - CompileMessageRecorder.Severity of this messagecode - integer code of this message (potentially used for filtering, is supported by the environment}message - String localized message specifically describing problem for the complier userlocation - SourceLocation where problem occurred. Indicate unknown location with a partially filled SourceLocation.astNode - ASTNode subtree containing problem, or null if not applicable or not available.
void recordMessage(CompileMessageRecorder.Severity severity,
int code,
java.lang.String message)
recordMessage(severity, code, message, null, null, null)
severity - CompileMessageRecorder.Severity of this messagecode - integer code of this message (potentially used for filtering, is supported by the environment}message - String localized message specifically describing problem for the complier userCompileMessageRecorder.Severity getMaxSeverity()
beginProcessing(File) was invokedvoid endProcessing(java.io.File file)
file - File for which compiler processing is complete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||