Back to Error Prone

EmptyTopLevelDeclaration

docs/bugpattern/EmptyTopLevelDeclaration.md

2.49.0136 B
Original Source

A semi-colon at the top level of a Java file is treated as an empty type declaration in the grammar, but it's confusing and unnecessary.