Check location of annotation on language elements. By default, Check enforce to locate annotations immetiately after documentation block and before target element, annotation should be located on separate line from target element.
Example:
@Override @Nullable public String getNameIfPresent() { ... }