javac could/should report if doc comments are found that are not associated with any declarations, typically because they are misplaced in some manner.
(See more details inJDK-8304987)
(See more details in
- csr for
-
JDK-8329137 javac -Xlint could/should report on "dangling" doc comments
- Closed
- duplicates
-
JDK-8304987 Add lint category for dangling comments.
- Closed
- relates to
-
JDK-8294007 Annotations in front of Javadoc comment prevent comment from being recognized
- Resolved