|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.rebind.rpc.ProblemReport
public class ProblemReport
A collection of reported problems; these are accumulated during the SerializableTypeOracleBuilder's isSerializable analysis, and what to do about the problems is decided only later.
| Nested Class Summary | |
|---|---|
static class |
ProblemReport.Priority
Priority of problems. |
static class |
ProblemReport.Problem
An individual report, which may require multiple entries (expressed as logs under a branchpoint), but relates to an individual issue. |
| Constructor Summary | |
|---|---|
ProblemReport()
Creates a new, empty, context-less ProblemReport. |
|
| Method Summary | |
|---|---|
ProblemReport.Problem |
add(JClassType type,
java.lang.String message,
ProblemReport.Priority priority,
java.lang.String... extraLines)
Adds a problem for a given type. |
java.lang.String |
getWorstMessageForType(JClassType type)
|
boolean |
hasFatalProblems()
Were any problems reported as "fatal"? |
void |
report(TreeLogger logger,
TreeLogger.Type problemLevel,
TreeLogger.Type auxLevel)
Reports all problems to the logger supplied, at the log level supplied. |
void |
reportFatalProblems(TreeLogger logger,
TreeLogger.Type level)
Reports only urgent problems to the logger supplied, at the log level supplied. |
void |
setContextType(JClassType newContext)
Sets the context type currently being analyzed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProblemReport()
| Method Detail |
|---|
public ProblemReport.Problem add(JClassType type,
java.lang.String message,
ProblemReport.Priority priority,
java.lang.String... extraLines)
type - the problematic typemessage - the description of the problempriority - priority of the problem.extraLines - additional continuation lines for the message, usually
for additional explanations.public java.lang.String getWorstMessageForType(JClassType type)
public boolean hasFatalProblems()
public void report(TreeLogger logger,
TreeLogger.Type problemLevel,
TreeLogger.Type auxLevel)
logger - logger to receive problem reportsproblemLevel - severity level at which to report problems.auxLevel - severity level at which to report any auxiliary messages.
public void reportFatalProblems(TreeLogger logger,
TreeLogger.Type level)
logger - logger to receive problem reportslevel - severity level at which to report problems.public void setContextType(JClassType newContext)
null value here.
newContext - the type under analysis
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||