I'm trying to look into seperate compilation of Java, specifically, compiling a class without all the classes/interfaces it depends on.
For example, let's say I have the following file Foo.java:
public class Foo extends Bar{
//class body
}
But don't have a java/class file for Bar. I'm looking for tools that would allow me to compile Foo.java alone, and add its dependencies at a later stage.
Anything about how to do so helps, from papers about the subject and how it can/can't be done to existing, working tools/frameworks that allow this.