Skip to content

Files

Latest commit

 

History

History
20 lines (12 loc) · 568 Bytes

MisorderedStaticImports.md

File metadata and controls

20 lines (12 loc) · 568 Bytes

Pattern: Misordered static import

Issue: -

Description

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{}

Further Reading