Pattern: Misordered static import
Issue: -
Checks for static import statements which should never be after non-static imports. This rule has one property comesBefore
, which defaults to true
. If you like your static imports to come after the others, then set this property to false
.
Examples of violations:
import some.another
import static foo.bar
public class SomeClass{}