View Javadoc
1   package com.puppycrawl.tools.checkstyle.javadocpropertiesgenerator;
2   
3   public class InputJavadocPropertiesGeneratorCorrect {
4   
5       /**
6        * The end of file token.  This is the root node for the source
7        * file.  It's children are an optional package definition, zero
8        * or more import statements, and one or more class or interface
9        * definitions.
10       **/
11      @SuppressWarnings("")
12      public static final @Deprecated int EOF1 = 1, EOF2 = 2;
13  
14      /**
15       * '&' symbol when used in a generic upper or lower bounds constrain
16       * e.g&#46; {@code Comparable<T extends Serializable & CharSequence>}!
17       */
18      public static final int TYPE_EXTENSION_AND = 3;
19  
20      /**
21       * A left curly brace (<code>{</code>).
22       *
23       * @noinspection HtmlTagCanBeJavadocTag
24       **/
25      public static final int LCURLY = 4;
26  
27      /**
28       * '{@literal @}deprecated' literal in {@literal @}deprecated Javadoc tag?
29       *
30       * <p><b>Example:</b></p>
31       * <pre>{@code @deprecated it is deprecated method}</pre>
32       * <b>Tree:</b>
33       * <pre>{@code
34       *   |--JAVADOC_TAG[3x0] : [@deprecated it is deprecated method]
35       *   |--DEPRECATED_LITERAL[3x0] : [@deprecated]
36       *   |--WS[3x11] : [ ]
37       *   |--TEXT[3x12] : [it is deprecated method]
38       * }</pre>
39       *
40       * @see
41       * <a href="https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javadoc.html#deprecated">
42       * Oracle Docs</a>
43       */
44      public static final int DEPRECATED_LITERAL = 5;
45  }