Eclipse – Automatic Static Imports


Static imports are very nice, especially in tests, when working with JUnit, Hamcrest, Mockito, or the like. It comes in very handy, when Eclipse can automatically add these imports for you if you only type the desired method’s name. This requires a little configuration. I show you!

All Eclipse Tricks


Share this: Facebooktwittergoogle_plusredditpinterestlinkedinmail | Follow me: twittergoogle_plusyoutube