How to get the annotation content inside a method?

One rule I’m writing now is:

Method, start another line above the annotated statement, and use // to comment.

In the actual development, trying use visitMethod and visitClass can’t get the internal annotation content of the method.

Do you have any feasible methods?Thank you for following this post.

Because the content of my previous rules is not very accurate and easy to confuse, I specially corrected it.
Rule:

The method uses single line comments internally, such as / / comments. Multi line comments or Javadoc comments are prohibited