John,

I had issues with static imports as well, but there is a solution.
Take a look at this url:

http://stackoverflow.com/questions/288861/eclipse-optimize-imports-to-include-static-imports

On Tue, Oct 7, 2014 at 10:31 AM, John Huss <johnth...@gmail.com> wrote:
> Hmm... I have a lot to say, so I might ramble a bit.
>
> 1) Static imports
>
> I'll never been a big user of static imports, largely because the tooling
> (Eclipse) doesn't support them well.  Everytime I've used a static import
> (which is really only in JUnit) I've wanted to import all the members:
> import package.*;  Well, when you organize import Eclipse will replace the
> star with the specific items you've used.  So you end up have to fix the
> import over and over.  On the other side, Eclipse won't automatically add
> the static import or even recommend it based on your code, so it becomes a
> rarely used feature.

Reply via email to