oracle.jdeveloper.compiler
Class IdeLog
java.lang.Object
|
+--oracle.jdeveloper.compiler.IdeLog
- All Implemented Interfaces:
- Translator.Log
- public class IdeLog
- extends java.lang.Object
- implements Translator.Log
Field Summary |
java.util.ArrayList |
messages
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messages
public java.util.ArrayList messages
IdeLog
public IdeLog()
setProject
public void setProject(Project project)
- set current project being compiled
getWorkspace
public Workspace getWorkspace()
- set current project being compiled
setWorkspace
public void setWorkspace(Workspace wsp)
- set current project being compiled
isPartiallyUsedImportWarning
public static boolean isPartiallyUsedImportWarning(IdeLog.Message msg)
error
public void error(oracle.ojc.interfaces.Storage source,
int line,
int col,
int errNumber,
java.lang.String errMsg)
- print an error message:
- Specified by:
error
in interface Translator.Log
warning
public void warning(oracle.ojc.interfaces.Storage source,
int line,
int col,
int errNumber,
java.lang.String errMsg)
- print a warning message:
- Specified by:
warning
in interface Translator.Log
nerrors
public int nerrors()
- how many errors/warnigns so far?
- Specified by:
nerrors
in interface Translator.Log
nwarnings
public int nwarnings()
- Specified by:
nwarnings
in interface Translator.Log