Class AnnotationOnSameLineCheck

All Implemented Interfaces:
Configurable, Contextualizable

Checks that annotations are located on the same line with their targets. Verifying with this check is not good practice, but it is using by some style guides.

Parent is com.puppycrawl.tools.checkstyle.TreeWalker

Violation Message Keys:

  • annotation.same.line
Since:
8.2