test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java
changeset 51127 c2e676c2cf7b
parent 50810 0358dad944c7
child 51873 e0153fc0a843
equal deleted inserted replaced
51126:a25c48c0a1ab 51127:c2e676c2cf7b
    94                 "Returns an array containing the constants of this enum type,",
    94                 "Returns an array containing the constants of this enum type,",
    95                 "Returns the enum constant of this type with the specified name",
    95                 "Returns the enum constant of this type with the specified name",
    96                 "for (Coin c : Coin.values())",
    96                 "for (Coin c : Coin.values())",
    97                 "Overloaded valueOf() method has correct documentation.",
    97                 "Overloaded valueOf() method has correct documentation.",
    98                 "Overloaded values method  has correct documentation.",
    98                 "Overloaded values method  has correct documentation.",
    99                 "<pre>public static&nbsp;<a href=\"Coin.html\" title=\"enum in pkg\">Coin</a>" +
    99                 "<pre class=\"methodSignature\">public static&nbsp;<a href=\"Coin.html\" title=\"enum in pkg\">Coin</a>" +
   100                 "&nbsp;valueOf&#8203;(java.lang.String&nbsp;name)</pre>\n" +
   100                 "&nbsp;valueOf&#8203;(java.lang.String&nbsp;name)</pre>\n" +
   101                 "<div class=\"block\">Returns the enum constant of this type with the specified name.\n" +
   101                 "<div class=\"block\">Returns the enum constant of this type with the specified name.\n" +
   102                 "The string must match <i>exactly</i> an identifier used to declare an\n" +
   102                 "The string must match <i>exactly</i> an identifier used to declare an\n" +
   103                 "enum constant in this type.  (Extraneous whitespace characters are \n" +
   103                 "enum constant in this type.  (Extraneous whitespace characters are \n" +
   104                 "not permitted.)</div>\n" +
   104                 "not permitted.)</div>\n" +
   153                 + "title=\"type parameter in TypeParameters\">E</a>[]</code></td>\n"
   153                 + "title=\"type parameter in TypeParameters\">E</a>[]</code></td>\n"
   154                 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
   154                 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
   155                 + "<a href=\"#methodThatReturnsTypeParameterA(E%5B%5D)\">"
   155                 + "<a href=\"#methodThatReturnsTypeParameterA(E%5B%5D)\">"
   156                 + "methodThatReturnsTypeParameterA</a></span>&#8203;(<a href=\"TypeParameters.html\" "
   156                 + "methodThatReturnsTypeParameterA</a></span>&#8203;(<a href=\"TypeParameters.html\" "
   157                 + "title=\"type parameter in TypeParameters\">E</a>[]&nbsp;e)</code>",
   157                 + "title=\"type parameter in TypeParameters\">E</a>[]&nbsp;e)</code>",
   158                 "<pre>public&nbsp;<a href=\"TypeParameters.html\" "
   158                 "<pre class=\"methodSignature\">public&nbsp;<a href=\"TypeParameters.html\" "
   159                 + "title=\"type parameter in TypeParameters\">E</a>[]&nbsp;"
   159                 + "title=\"type parameter in TypeParameters\">E</a>[]&nbsp;"
   160                 + "methodThatReturnsTypeParameterA&#8203;(<a href=\"TypeParameters.html\" "
   160                 + "methodThatReturnsTypeParameterA&#8203;(<a href=\"TypeParameters.html\" "
   161                 + "title=\"type parameter in TypeParameters\">E</a>[]&nbsp;e)</pre>\n",
   161                 + "title=\"type parameter in TypeParameters\">E</a>[]&nbsp;e)</pre>\n",
   162                 "<td class=\"colFirst\"><code>&lt;T extends java.lang.Object &amp; java.lang.Comparable&lt;? super T&gt;&gt;"
   162                 "<td class=\"colFirst\"><code>&lt;T extends java.lang.Object &amp; java.lang.Comparable&lt;? super T&gt;&gt;"
   163                 + "<br>T</code></td>\n"
   163                 + "<br>T</code></td>\n"
   693                 + "=\"Constructor Annotation\",\n"
   693                 + "=\"Constructor Annotation\",\n"
   694                 + "                <a href=\"AnnotationType.html#required()\">"
   694                 + "                <a href=\"AnnotationType.html#required()\">"
   695                 + "required</a>=1994)\n"
   695                 + "required</a>=1994)\n"
   696                 + "public&nbsp;AnnotationTypeUsage()</pre>",
   696                 + "public&nbsp;AnnotationTypeUsage()</pre>",
   697                 // METHOD
   697                 // METHOD
   698                 "<pre><a href=\"AnnotationType.html\" "
   698                 "<pre class=\"methodSignature\"><a href=\"AnnotationType.html\" "
   699                 + "title=\"annotation in pkg\">@AnnotationType</a>("
   699                 + "title=\"annotation in pkg\">@AnnotationType</a>("
   700                 + "<a href=\"AnnotationType.html#optional()\">optional</a>"
   700                 + "<a href=\"AnnotationType.html#optional()\">optional</a>"
   701                 + "=\"Method Annotation\",\n"
   701                 + "=\"Method Annotation\",\n"
   702                 + "                <a href=\"AnnotationType.html#required()\">"
   702                 + "                <a href=\"AnnotationType.html#required()\">"
   703                 + "required</a>=1994)\n"
   703                 + "required</a>=1994)\n"
   704                 + "public&nbsp;void&nbsp;method()</pre>",
   704                 + "public&nbsp;void&nbsp;method()</pre>",
   705                 // METHOD PARAMS
   705                 // METHOD PARAMS
   706                 "<pre>public&nbsp;void&nbsp;methodWithParams&#8203;("
   706                 "<pre class=\"methodSignature\">public&nbsp;void&nbsp;methodWithParams&#8203;("
   707                 + "<a href=\"AnnotationType.html\" title=\"annotation in pkg\">"
   707                 + "<a href=\"AnnotationType.html\" title=\"annotation in pkg\">"
   708                 + "@AnnotationType</a>(<a href=\"AnnotationType.html#optional()\">"
   708                 + "@AnnotationType</a>(<a href=\"AnnotationType.html#optional()\">"
   709                 + "optional</a>=\"Parameter Annotation\",<a "
   709                 + "optional</a>=\"Parameter Annotation\",<a "
   710                 + "href=\"AnnotationType.html#required()\">required</a>=1994)\n"
   710                 + "href=\"AnnotationType.html#required()\">required</a>=1994)\n"
   711                 + "                             int&nbsp;documented,\n"
   711                 + "                             int&nbsp;documented,\n"
   856                 + "=\"Constructor Annotation\",\n"
   856                 + "=\"Constructor Annotation\",\n"
   857                 + "                <a href=\"AnnotationType.html#required--\">"
   857                 + "                <a href=\"AnnotationType.html#required--\">"
   858                 + "required</a>=1994)\n"
   858                 + "required</a>=1994)\n"
   859                 + "public&nbsp;AnnotationTypeUsage()</pre>",
   859                 + "public&nbsp;AnnotationTypeUsage()</pre>",
   860                 // METHOD
   860                 // METHOD
   861                 "<pre><a href=\"AnnotationType.html\" "
   861                 "<pre class=\"methodSignature\"><a href=\"AnnotationType.html\" "
   862                 + "title=\"annotation in pkg\">@AnnotationType</a>("
   862                 + "title=\"annotation in pkg\">@AnnotationType</a>("
   863                 + "<a href=\"AnnotationType.html#optional--\">optional</a>"
   863                 + "<a href=\"AnnotationType.html#optional--\">optional</a>"
   864                 + "=\"Method Annotation\",\n"
   864                 + "=\"Method Annotation\",\n"
   865                 + "                <a href=\"AnnotationType.html#required--\">"
   865                 + "                <a href=\"AnnotationType.html#required--\">"
   866                 + "required</a>=1994)\n"
   866                 + "required</a>=1994)\n"
   867                 + "public&nbsp;void&nbsp;method()</pre>",
   867                 + "public&nbsp;void&nbsp;method()</pre>",
   868                 // METHOD PARAMS
   868                 // METHOD PARAMS
   869                 "<pre>public&nbsp;void&nbsp;methodWithParams&#8203;("
   869                 "<pre class=\"methodSignature\">public&nbsp;void&nbsp;methodWithParams&#8203;("
   870                 + "<a href=\"AnnotationType.html\" title=\"annotation in pkg\">"
   870                 + "<a href=\"AnnotationType.html\" title=\"annotation in pkg\">"
   871                 + "@AnnotationType</a>(<a href=\"AnnotationType.html#optional--\">"
   871                 + "@AnnotationType</a>(<a href=\"AnnotationType.html#optional--\">"
   872                 + "optional</a>=\"Parameter Annotation\",<a "
   872                 + "optional</a>=\"Parameter Annotation\",<a "
   873                 + "href=\"AnnotationType.html#required--\">required</a>=1994)\n"
   873                 + "href=\"AnnotationType.html#required--\">required</a>=1994)\n"
   874                 + "                             int&nbsp;documented,\n"
   874                 + "                             int&nbsp;documented,\n"