by PaulHoule · 10y ago · 0 comments
I never write those import statements by hand anyway, that's one of the many reasons I have an IDE.
I don't know what IntelliJ has inside of it, but I know Eclipse is based on EJC, the Eclipse Java Compiler, which can turn Java code into a Java abstract source tree, and then turn that either back to Java code or to byte code.
It's not too different from the read function in LISP but it is a bit more complex...