|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DJError | |
|---|---|
| edu.rice.cs.drjava.model | The model package is responsible for the majority of the logic
and state in DrJava. |
| edu.rice.cs.drjava.model.compiler | Contains adaptor code for invoking various Java compilers. |
| edu.rice.cs.drjava.model.javadoc | |
| edu.rice.cs.drjava.model.junit | Contains the code for integration of the JUnit testing facility. |
| edu.rice.cs.drjava.ui | The ui package contains classes for the default user interface
for DrJava. |
| Uses of DJError in edu.rice.cs.drjava.model |
|---|
| Methods in edu.rice.cs.drjava.model with parameters of type DJError | |
|---|---|
private int |
DJError.compareByPosition(DJError other)
Compares this error's postion with other error's, based first on line number, then by column. |
private int |
DJError.compareErrorWarning(DJError other)
Compare otherwise equal errors. |
int |
DJError.compareTo(DJError other)
Compares by file, then by line, then by column. |
| Uses of DJError in edu.rice.cs.drjava.model.compiler |
|---|
| Subclasses of DJError in edu.rice.cs.drjava.model.compiler | |
|---|---|
class |
CompilerError
A class to represent source errors and warnings generated by the compiler. |
| Fields in edu.rice.cs.drjava.model.compiler declared as DJError | |
|---|---|
private DJError[] |
CompilerErrorModel._errors
An array of errors to be displayed in the CompilerErrorPanel associated with this model. |
private DJError[] |
CompilerErrorModelTest.errors
|
| Methods in edu.rice.cs.drjava.model.compiler that return DJError | |
|---|---|
DJError |
CompilerErrorModel.getError(int idx)
Accessor for errors maintained here. |
DJError |
CompilerErrorModel.getErrorAtOffset(OpenDefinitionsDocument odd,
int offset)
This method finds and returns the error that is at the given offset |
| Methods in edu.rice.cs.drjava.model.compiler that return types with arguments of type DJError | |
|---|---|
private LinkedList<DJError> |
DefaultCompilerModel._parseExceptions2CompilerErrors(LinkedList<JExprParseException> pes)
Converts JExprParseExceptions thrown by the JExprParser in language levels to CompilerErrors. |
private LinkedList<DJError> |
DefaultCompilerModel._visitorErrors2CompilerErrors(LinkedList<Pair<String,JExpressionIF>> visitorErrors)
Converts errors thrown by the language level visitors to CompilerErrors. |
List<? extends DJError> |
NoCompilerAvailable.compile(List<? extends File> files,
List<? extends File> classPath,
List<? extends File> sourcePath,
File destination,
List<? extends File> bootClassPath,
String sourceVersion,
boolean showWarnings)
|
List<? extends DJError> |
CompilerInterface.compile(List<? extends File> files,
List<? extends File> classPath,
List<? extends File> sourcePath,
File destination,
List<? extends File> bootClassPath,
String sourceVersion,
boolean showWarnings)
Compile the given files. |
abstract List<? extends DJError> |
JavacCompiler.compile(List<? extends File> files,
List<? extends File> classPath,
List<? extends File> sourcePath,
File destination,
List<? extends File> bootClassPath,
String sourceVersion,
boolean showWarnings)
|
| Methods in edu.rice.cs.drjava.model.compiler with parameters of type DJError | |
|---|---|
Position |
CompilerErrorModel.getPosition(DJError error)
Returns the position of the given error in the document representing its file. |
| Method parameters in edu.rice.cs.drjava.model.compiler with type arguments of type DJError | |
|---|---|
private List<File> |
DefaultCompilerModel._compileLanguageLevelsFiles(List<File> files,
List<DJError> errors,
Iterable<File> classPath,
Iterable<File> bootClassPath)
Compiles the language levels files in the list. |
private void |
DefaultCompilerModel._distributeErrors(List<? extends DJError> errors)
Sorts the given array of CompilerErrors and divides it into groups based on the file, giving each group to the appropriate OpenDefinitionsDocument, opening files if necessary. |
| Constructors in edu.rice.cs.drjava.model.compiler with parameters of type DJError | |
|---|---|
CompilerErrorModel(DJError[] errors,
GlobalModel model)
Constructs a new CompilerErrorModel with specified global model. |
|
| Uses of DJError in edu.rice.cs.drjava.model.javadoc |
|---|
| Methods in edu.rice.cs.drjava.model.javadoc that return DJError | |
|---|---|
private DJError |
DefaultJavadocModel._parseJavadocErrorLine(String line)
Convert a line of Javadoc text to a DJError. |
| Methods in edu.rice.cs.drjava.model.javadoc that return types with arguments of type DJError | |
|---|---|
private List<DJError> |
DefaultJavadocModel._extractErrors(String text)
Reads through javadoc output text, looking for Javadoc errors. |
| Uses of DJError in edu.rice.cs.drjava.model.junit |
|---|
| Subclasses of DJError in edu.rice.cs.drjava.model.junit | |
|---|---|
class |
JUnitError
A class to represent JUnit errors. |
| Uses of DJError in edu.rice.cs.drjava.ui |
|---|
| Fields in edu.rice.cs.drjava.ui with type parameters of type DJError | |
|---|---|
protected HashMap<Position,DJError> |
ErrorPanel.ErrorListPane._errorTable
Table mapping Positions in the error list to CompilerErrors. |
| Methods in edu.rice.cs.drjava.ui that return DJError | |
|---|---|
protected DJError |
ErrorPanel.ErrorListPane._errorAtPoint(Point p)
Returns DJError associated with the given visual coordinates. |
| Methods in edu.rice.cs.drjava.ui with parameters of type DJError | |
|---|---|
private int |
ErrorPanel.ErrorListPane._getIndexForError(DJError error)
Returns the index into _errorListPositions corresponding to the given DJError. |
protected void |
ErrorPanel.ErrorListPane._insertErrorText(DJError error,
ErrorPanel.ErrorDocument doc)
Prints a message for the given error |
void |
ErrorPanel.ErrorListPane.selectItem(DJError error)
Selects the given error inside the error list pane. |
void |
JUnitPanel.JUnitErrorListPane.selectItem(DJError error)
Overrides selectItem in ErrorListPane to update the current _error selected and enabling the _showStackTraceButton. |
(package private) void |
ErrorPanel.ErrorListPane.switchToError(DJError error)
Change all state to select a new error, including moving the caret to the error, if a corresponding position exists. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||