Skip to content

Commit

Permalink
Issue checkstyle#9396: Add example of AST for TokenTypes.AT
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayak-gaikwad committed Jul 27, 2021
1 parent e6eb140 commit f10aeb5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java
Expand Up @@ -4896,6 +4896,18 @@ public final class TokenTypes {
* to the interface literal signifying the definition of an annotation
* declaration.
*
* <p>For example:</p>
* <pre> @Override </pre>
*
* <p>parses as:</p>
* <pre>
* --MODIFIERS -&gt; MODIFIERS
* | | |--ANNOTATION -&gt; ANNOTATION
* | | | |--AT -&gt; @
* | | | `--IDENT -&gt; Override
* | | `--LITERAL_PUBLIC -&gt; public
* </pre>
*
* @see <a href="https://www.jcp.org/en/jsr/detail?id=201">
* JSR201</a>
*/
Expand Down

0 comments on commit f10aeb5

Please sign in to comment.