Pattern: Missing blank line before annotated field
Issue: -
Checks that there is a blank line before a field declaration that uses annotations. Ignore field declarations where all annotations are on the same line as the field declaration.
class MyClass {
// No violations for field declarations preceded by a comment
@Delegate
AutoCloseable stream
String publicField // violation
@PackageScope
String packageScopedField
}