Where does JDT set the errors with the arguments when a compilation fails [message #786043] |
Sun, 29 January 2012 23:15 |
|
Hello there,
My question concerns the whole compilation process in eclipse. I'm hoping that anyone could shed some light on the subject. Correct me if I'm wrong, when eclipse is compiling a project or a file it goes to those steps:
EclipseCompiler that implements JavaCompiler calls EclipseCompilerImpl, which extends Main. The latter calls the function beginCompilation in the Compiler class that implements ITypeRequestor and ProblemSeverities.
Now my primarily concern is about when the compiler finds an error. It seems like the compiler calls AbortCompilation that extends RuntineException but I am not sure where the compiler stores the error arguments, messages and what not.
Also, for the problemID: 67108964, with the message: "The method XXX is undefined for the type YYY" the getArguments() method only returns the type of the variable. Is there a way to get the name of the variable?
Thanks.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03816 seconds