by twic · 9y ago · 0 comments
An incremental Java compiler. Implemented as an Eclipse builder, it is based on technology evolved from VisualAge for Java compiler. In particular, it allows to run and debug code which still contains unresolved errors.
That means that you can write something like:
private void describe(String string) {
if (string.isEmpty()) empty();
else nonempty(string);
}
private void empty() {
System.out.println("empty");
}
private void nonempty(String string) {
System.out.println("contains " + string.size() + " characters");
}
Then you can still run the code and call describe, but if execution reaches nonempty, you get a runtime error telling you about the compilation problem.It's one of the few things from Eclipse i miss when using IntelliJ.