Why this matters
Inconsistent annotation placement (before or after modifiers) reduces readability and can cause confusion when following coding conventions.
Ensure that annotations are placed consistently before or after modifiers throughout the codebase.
Inconsistent annotation placement (before or after modifiers) reduces readability and can cause confusion when following coding conventions.
Side-by-side examples engineers can pattern-match during review.
@Override public void someMethod() { ... }@Override
public void someMethod() { ... }@Override public void someMethod() { ... }@Override
public void someMethod() { ... }From the same buckets as this rule.