cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Eclipse Static imports
Date Tue, 07 Oct 2014 14:39:25 GMT

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

On Tue, Oct 7, 2014 at 10:31 AM, John Huss <> 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.

View raw message