Hi all,

Is there a tool around to automatically generate java 
import statements. I know about the JDE import wizard,
but I am thinking about something more: Something that
will scan a source file and either print out or insert
the import statements.

I'm often lazy and write things like:

import mypackage.*;

But in the end, I would like to have it automatically
expanded to:

import mypackage.MyClass1;
import mypackage.MyClass2;
...

This makes it easier for other people to find out
where the classes are and helps to avoid conflicts.

As far as I understand it, the import wizard makes
you type the package name. It would be better to
use the global-class-path variable to search for
it...

Thanks,
Allan Brighton

Reply via email to