TestNewLanguageFeatures.java revision 553
0N/A/*
553N/A * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
0N/A * published by the Free Software Foundation.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A * or visit www.oracle.com if you need additional information or have any
553N/A * questions.
0N/A */
0N/A
0N/A/*
0N/A * @test
0N/A * @bug 4789689 4905985 4927164 4827184 4993906 5004549
0N/A * @summary Run Javadoc on a set of source files that demonstrate new
0N/A * language features. Check the output to ensure that the new
0N/A * language features are properly documented.
0N/A * @author jamieh
0N/A * @library ../lib/
0N/A * @build JavadocTester
0N/A * @build TestNewLanguageFeatures
0N/A * @run main TestNewLanguageFeatures
0N/A */
0N/A
0N/Apublic class TestNewLanguageFeatures extends JavadocTester {
0N/A
0N/A //Test information.
0N/A private static final String BUG_ID = "4789689-4905985-4927164-4827184-4993906";
0N/A
0N/A //Javadoc arguments.
0N/A private static final String[] ARGS = new String[] {
0N/A "-d", BUG_ID, "-use", "-source", "1.5", "-sourcepath", SRC_DIR, "pkg", "pkg1", "pkg2"
0N/A };
0N/A
0N/A //Input for string search tests.
0N/A private static final String[][] TEST =
0N/A {
0N/A //=================================
0N/A // ENUM TESTING
0N/A //=================================
0N/A //Make sure enum header is correct.
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html", "Enum Coin</H2>"},
0N/A //Make sure enum signature is correct.
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html", "public enum "+
232N/A "<STRONG>Coin</STRONG>" + NL + "extends java.lang.Enum&lt;" +
0N/A "<A HREF=\"../pkg/Coin.html\" title=\"enum in pkg\">Coin</A>&gt;"
0N/A },
0N/A //Check for enum constant section
242N/A {BUG_ID + FS + "pkg" + FS + "Coin.html", "<CAPTION CLASS=\"TableCaption\">" + NL +
242N/A "Enum Constant Summary</CAPTION>"},
0N/A //Detail for enum constant
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html",
181N/A "<STRONG><A HREF=\"../pkg/Coin.html#Dime\">Dime</A></STRONG>"},
0N/A //Automatically insert documentation for values() and valueOf().
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html",
0N/A "Returns an array containing the constants of this enum type,"},
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html",
0N/A "Returns the enum constant of this type with the specified name"},
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html", "for (Coin c : Coin.values())"},
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html", "Overloaded valueOf() method has correct documentation."},
0N/A {BUG_ID + FS + "pkg" + FS + "Coin.html", "Overloaded values method has correct documentation."},
0N/A
0N/A //=================================
0N/A // TYPE PARAMETER TESTING
0N/A //=================================
0N/A //Make sure the header is correct.
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
0N/A "Class TypeParameters&lt;E&gt;</H2>"},
0N/A //Check class type parameters section.
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
232N/A "<DT><STRONG>Type Parameters:</STRONG></DT><DD><CODE>E</CODE> - " +
0N/A "the type parameter for this class."},
0N/A //Type parameters in @see/@link
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
232N/A "<DT><STRONG>See Also:</STRONG></DT><DD><A HREF=\"../pkg/TypeParameters.html\" " +
232N/A "title=\"class in pkg\"><CODE>TypeParameters</CODE></A></DD></DL>"},
0N/A //Method that uses class type parameter.
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
0N/A "(<A HREF=\"../pkg/TypeParameters.html\" title=\"type " +
0N/A "parameter in TypeParameters\">E</A>&nbsp;param)"},
0N/A //Method type parameter section.
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
232N/A "<STRONG>Type Parameters:</STRONG></DT><DD><CODE>T</CODE> - This is the first " +
232N/A "type parameter.</DD><DD><CODE>V</CODE> - This is the second type " +
0N/A "parameter."},
0N/A //Signature of method with type parameters
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
0N/A "public &lt;T extends java.util.List,V&gt; " +
181N/A "java.lang.String[] <STRONG>methodThatHasTypeParameters</STRONG>"},
0N/A //Wildcard testing.
0N/A {BUG_ID + FS + "pkg" + FS + "Wildcards.html",
0N/A "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
0N/A "TypeParameters</A>&lt;? super java.lang.String&gt;&nbsp;a"},
0N/A {BUG_ID + FS + "pkg" + FS + "Wildcards.html",
0N/A "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
0N/A "TypeParameters</A>&lt;? extends java.lang.StringBuffer&gt;&nbsp;b"},
0N/A {BUG_ID + FS + "pkg" + FS + "Wildcards.html",
0N/A "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
0N/A "TypeParameters</A>&nbsp;c"},
0N/A //Bad type parameter warnings.
0N/A {WARNING_OUTPUT, "warning - @param argument " +
0N/A "\"<BadClassTypeParam>\" is not a type parameter name."},
0N/A {WARNING_OUTPUT, "warning - @param argument " +
0N/A "\"<BadMethodTypeParam>\" is not a type parameter name."},
0N/A
0N/A //Signature of subclass that has type parameters.
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameterSubClass.html",
181N/A "public class <STRONG>TypeParameterSubClass&lt;T extends java.lang.String&gt;" +
232N/A "</STRONG>" + NL + "extends <A HREF=\"../pkg/TypeParameterSuperClass.html\" " +
0N/A "title=\"class in pkg\">TypeParameterSuperClass</A>&lt;T&gt;"},
0N/A
0N/A //Interface generic parameter substitution
0N/A //Signature of subclass that has type parameters.
0N/A {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
232N/A "<STRONG>All Implemented Interfaces:</STRONG></DT> <DD><A HREF=\"../pkg/SubInterface.html\" title=\"interface in pkg\">SubInterface</A>&lt;E&gt;, <A HREF=\"../pkg/SuperInterface.html\" title=\"interface in pkg\">SuperInterface</A>&lt;E&gt;</DD>"},
0N/A {BUG_ID + FS + "pkg" + FS + "SuperInterface.html",
232N/A "<STRONG>All Known Subinterfaces:</STRONG></DT> <DD><A HREF=\"../pkg/SubInterface.html\" title=\"interface in pkg\">SubInterface</A>&lt;V&gt;</DD>"},
0N/A {BUG_ID + FS + "pkg" + FS + "SubInterface.html",
232N/A "<STRONG>All Superinterfaces:</STRONG></DT> <DD><A HREF=\"../pkg/SuperInterface.html\" title=\"interface in pkg\">SuperInterface</A>&lt;V&gt;</DD>"},
0N/A
0N/A //=================================
0N/A // VAR ARG TESTING
0N/A //=================================
0N/A {BUG_ID + FS + "pkg" + FS + "VarArgs.html", "(int...&nbsp;i)"},
0N/A {BUG_ID + FS + "pkg" + FS + "VarArgs.html", "(int[][]...&nbsp;i)"},
0N/A {BUG_ID + FS + "pkg" + FS + "VarArgs.html", "(int[]...)"},
0N/A {BUG_ID + FS + "pkg" + FS + "VarArgs.html",
0N/A "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
0N/A "TypeParameters</A>...&nbsp;t"},
0N/A
0N/A //=================================
0N/A // ANNOTATION TYPE TESTING
0N/A //=================================
0N/A //Make sure the summary links are correct.
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
0N/A "SUMMARY:&nbsp;<A HREF=\"#annotation_type_required_element_summary\">" +
0N/A "REQUIRED</A>&nbsp;|&nbsp;<A HREF=\"#annotation_type_optional_element_summary\">" +
0N/A "OPTIONAL</A>"},
0N/A //Make sure the detail links are correct.
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
0N/A "DETAIL:&nbsp;<A HREF=\"#annotation_type_element_detail\">ELEMENT</A>"},
0N/A //Make sure the heading is correct.
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
0N/A "Annotation Type AnnotationType</H2>"},
0N/A //Make sure the signature is correct.
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
181N/A "public @interface <STRONG>AnnotationType</STRONG>"},
0N/A //Make sure member summary headings are correct.
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
242N/A "<CAPTION CLASS=\"TableCaption\">" + NL +
242N/A "Required Element Summary</CAPTION>"},
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
242N/A "<CAPTION CLASS=\"TableCaption\">" + NL +
242N/A "Optional Element Summary</CAPTION>"},
0N/A //Make sure element detail heading is correct
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
0N/A "Element Detail"},
0N/A //Make sure default annotation type value is printed when necessary.
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
232N/A "<STRONG>Default:</STRONG></DT><DD>\"unknown\"</DD>"},
0N/A
0N/A //=================================
0N/A // ANNOTATION TYPE USAGE TESTING
0N/A //=================================
0N/A
0N/A //PACKAGE
0N/A {BUG_ID + FS + "pkg" + FS + "package-summary.html",
0N/A "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Package Annotation\"," + NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"},
0N/A
0N/A //CLASS
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" +
0N/A "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Class Annotation\","+NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
232N/A "</FONT>public class <STRONG>AnnotationTypeUsage</STRONG>" + NL +
232N/A "extends java.lang.Object"},
0N/A
0N/A //FIELD
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" +
0N/A "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Field Annotation\","+NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
181N/A "</FONT>public int <STRONG>field</STRONG>"},
0N/A
0N/A //CONSTRUCTOR
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" +
0N/A "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Constructor Annotation\","+NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
181N/A "</FONT>public <STRONG>AnnotationTypeUsage</STRONG>()"},
0N/A
0N/A //METHOD
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" +
0N/A "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Method Annotation\","+NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
181N/A "</FONT>public void <STRONG>method</STRONG>()"},
0N/A
0N/A //METHOD PARAMS
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<PRE>" + NL +
181N/A "public void <STRONG>methodWithParams</STRONG>(<FONT SIZE=\"-1\"><A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Parameter Annotation\",<A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)</FONT>" + NL +
0N/A " int&nbsp;documented," + NL +
0N/A " int&nbsp;undocmented)</PRE>"},
0N/A
0N/A //CONSTRUCTOR PARAMS
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<PRE>" + NL +
181N/A "public <STRONG>AnnotationTypeUsage</STRONG>(<FONT SIZE=\"-1\"><A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Constructor Param Annotation\",<A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)</FONT>" + NL +
0N/A " int&nbsp;documented," + NL +
0N/A " int&nbsp;undocmented)</PRE>"},
0N/A
0N/A //=================================
0N/A // ANNOTATION TYPE USAGE TESTING (All Different Types).
0N/A //=================================
0N/A
0N/A //Integer
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#d()\">d</A>=3.14,"},
0N/A
0N/A //Double
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#d()\">d</A>=3.14,"},
0N/A
0N/A //Boolean
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#b()\">b</A>=true,"},
0N/A
0N/A //String
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#s()\">s</A>=\"sigh\","},
0N/A
0N/A //Class
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#c()\">c</A>=<A HREF=\"../pkg2/Foo.html\" title=\"class in pkg2\">Foo.class</A>,"},
0N/A
0N/A //Bounded Class
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#w()\">w</A>=<A HREF=\"../pkg/TypeParameterSubClass.html\" title=\"class in pkg\">TypeParameterSubClass.class</A>,"},
0N/A
0N/A //Enum
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#e()\">e</A>=<A HREF=\"../pkg/Coin.html#Penny\">Penny</A>,"},
0N/A
0N/A //Annotation Type
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#a()\">a</A>=<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"foo\",<A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994),"},
0N/A
0N/A //String Array
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#sa()\">sa</A>={\"up\",\"down\"},"},
0N/A
0N/A //Primitive
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<A HREF=\"../pkg1/A.html#primitiveClassTest()\">primitiveClassTest</A>=boolean.class,"},
0N/A
0N/A //XXX: Add array test case after this if fixed:
0N/A //5020899: Incorrect internal representation of class-valued annotation elements
0N/A
0N/A //Make sure that annotations are surrounded by <pre> and </pre>
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
0N/A "<PRE><FONT SIZE=\"-1\"><A HREF=\"../pkg1/A.html\" title=\"annotation in pkg1\">@A</A>"},
0N/A {BUG_ID + FS + "pkg1" + FS + "B.html",
232N/A "</FONT>public interface <STRONG>B</STRONG></PRE>"},
0N/A
0N/A
0N/A //==============================================================
0N/A // Handle multiple bounds.
0N/A //==============================================================
0N/A {BUG_ID + FS + "pkg" + FS + "MultiTypeParameters.html",
181N/A "public &lt;T extends java.lang.Number & java.lang.Runnable&gt; T <STRONG>foo</STRONG>(T&nbsp;t)"},
0N/A
0N/A //==============================================================
0N/A // Test Class-Use Documenation for Type Parameters.
0N/A //==============================================================
0N/A
0N/A //ClassUseTest1: <T extends Foo & Foo2>
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo.html\" " +
242N/A "title=\"class in pkg2\">Foo</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
181N/A "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html\" title=\"class in pkg2\">ClassUseTest1&lt;T extends Foo & Foo2&gt;</A></STRONG></CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo.html\" " +
242N/A "title=\"class in pkg2\">Foo</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
181N/A "<TD><CODE><STRONG>ClassUseTest1.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Fields in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo.html\" " +
242N/A "title=\"class in pkg2\">Foo</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
0N/A "<A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A>&gt;</CODE></FONT></TD>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Fields in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> declared as <A HREF=\"../../pkg2/ParamTest.html\" " +
242N/A "title=\"class in pkg2\">ParamTest</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
0N/A "<A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A>&gt;</CODE></FONT></TD>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo2.html\" " +
242N/A "title=\"interface in pkg2\">Foo2</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
181N/A "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html\" title=\"class in pkg2\">ClassUseTest1&lt;T extends Foo & Foo2&gt;</A></STRONG></CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo2.html\" " +
242N/A "title=\"interface in pkg2\">Foo2</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
181N/A "<TD><CODE><STRONG>ClassUseTest1.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
0N/A },
0N/A
0N/A //ClassUseTest2: <T extends ParamTest<Foo3>>
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest.html\" " +
242N/A "title=\"class in pkg2\">ParamTest</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
181N/A "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html\" title=\"class in pkg2\">ClassUseTest2&lt;T extends ParamTest&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;</A></STRONG></CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest.html\" " +
242N/A "title=\"class in pkg2\">ParamTest</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
181N/A "<TD><CODE><STRONG>ClassUseTest2.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Fields in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> declared as <A HREF=\"../../pkg2/ParamTest.html\" " +
242N/A "title=\"class in pkg2\">ParamTest</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
0N/A "<A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A>&gt;</CODE></FONT></TD>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest.html\" " +
242N/A "title=\"class in pkg2\">ParamTest</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
0N/A "&lt;T extends <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo3.html\" " +
242N/A "title=\"class in pkg2\">Foo3</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
181N/A "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html\" title=\"class in pkg2\">ClassUseTest2&lt;T extends ParamTest&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;</A></STRONG></CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo3.html\" " +
242N/A "title=\"class in pkg2\">Foo3</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
181N/A "<TD><CODE><STRONG>ClassUseTest2.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> that return types with arguments of type " +
242N/A "<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">" +
242N/A "Foo3</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
0N/A "&lt;T extends <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;"
0N/A },
0N/A
0N/A //ClassUseTest3: <T extends ParamTest2<List<? extends Foo4>>>
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type " +
242N/A "<A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">" +
242N/A "ParamTest2</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
181N/A "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html\" title=\"class in pkg2\">ClassUseTest3&lt;T extends ParamTest2&lt;java.util.List&lt;? extends Foo4&gt;&gt;&gt;</A></STRONG></CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type " +
242N/A "<A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">" +
242N/A "ParamTest2</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
181N/A "<TD><CODE><STRONG>ClassUseTest3.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type " +
242N/A "<A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">" +
242N/A "ParamTest2</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
0N/A "&lt;T extends <A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">ParamTest2</A>&lt;java.util.List&lt;? extends <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A>&gt;&gt;&gt;"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type " +
242N/A "<A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">" +
242N/A "Foo4</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
181N/A "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html\" title=\"class in pkg2\">ClassUseTest3&lt;T extends ParamTest2&lt;java.util.List&lt;? extends Foo4&gt;&gt;&gt;</A></STRONG></CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type parameters of type <A HREF=\"../../pkg2/Foo4.html\" " +
242N/A "title=\"class in pkg2\">Foo4</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
181N/A "<TD><CODE><STRONG>ClassUseTest3.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> that return types with arguments of type " +
242N/A "<A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">" +
242N/A "Foo4</A></CAPTION>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
0N/A "&lt;T extends <A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">ParamTest2</A>&lt;java.util.List&lt;? extends <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A>&gt;&gt;&gt;"
0N/A },
0N/A
0N/A //Type parameters in constructor and method args
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Method parameters in <A HREF=\"../../pkg2/package-summary.html\">pkg2" +
242N/A "</A> with type arguments of type <A HREF=\"../../pkg2/Foo4.html\" " +
242N/A "title=\"class in pkg2\">Foo4</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Modifier and Type" +
242N/A "</TH>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Method and Description</TH>" + NL +
242N/A "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
242N/A "<CODE>&nbsp;void</CODE></FONT></TD>" + NL +
242N/A "<TD><CODE><STRONG>ClassUseTest3.</STRONG><STRONG>" +
242N/A "<A HREF=\"../../pkg2/ClassUseTest3.html#method(java.util.Set)\">" +
242N/A "method</A></STRONG>(java.util.Set&lt;<A HREF=\"../../pkg2/Foo4.html\" " +
242N/A "title=\"class in pkg2\">Foo4</A>&gt;&nbsp;p)</CODE>"
0N/A },
0N/A {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
242N/A "<CAPTION CLASS=\"TableSubCaption\">" + NL +
242N/A "Constructor parameters in <A HREF=\"../../pkg2/package-summary.html\">" +
242N/A "pkg2</A> with type arguments of type <A HREF=\"../../pkg2/Foo4.html\" " +
242N/A "title=\"class in pkg2\">Foo4</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Constructor and Description" +
242N/A "</TH>" + NL + "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html#ClassUseTest3" +
242N/A "(java.util.Set)\">ClassUseTest3</A></STRONG>(java.util.Set&lt;" +
242N/A "<A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">" +
242N/A "Foo4</A>&gt;&nbsp;p)</CODE>"
0N/A },
0N/A
0N/A //=================================
0N/A // Annotatation Type Usage
0N/A //=================================
0N/A {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
242N/A "Packages with annotations of type " +
242N/A "<A HREF=\"../../pkg/AnnotationType.html\" " +
242N/A "title=\"annotation in pkg\">AnnotationType</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Package" +
242N/A "</TH>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Description</TH>" + NL + "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD><A HREF=\"../../pkg/package-summary.html\"><STRONG>pkg" +
242N/A "</STRONG></A></TD>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
242N/A "Classes in <A HREF=\"../../pkg/package-summary.html\">pkg" +
242N/A "</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" " +
242N/A "title=\"annotation in pkg\">AnnotationType</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Modifier and Type" +
242N/A "</TH>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Class and Description</TH>" + NL +
242N/A "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
242N/A "<CODE>&nbsp;class</CODE></FONT></TD>" + NL +
242N/A "<TD><CODE><STRONG><A HREF=\"../../pkg/AnnotationTypeUsage.html\" " +
242N/A "title=\"class in pkg\">AnnotationTypeUsage</A></STRONG></CODE>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
242N/A "Fields in <A HREF=\"../../pkg/package-summary.html\">pkg" +
242N/A "</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" " +
242N/A "title=\"annotation in pkg\">AnnotationType</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Modifier and Type" +
242N/A "</TH>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Field and Description</TH>" + NL +
242N/A "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
242N/A "<CODE>&nbsp;int</CODE></FONT></TD>" + NL +
242N/A "<TD><CODE><STRONG>AnnotationTypeUsage.</STRONG><STRONG>" +
242N/A "<A HREF=\"../../pkg/AnnotationTypeUsage.html#field\">field" +
242N/A "</A></STRONG></CODE>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
242N/A "Methods in <A HREF=\"../../pkg/package-summary.html\">pkg" +
242N/A "</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" " +
242N/A "title=\"annotation in pkg\">AnnotationType</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Modifier and Type" +
242N/A "</TH>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Method and Description</TH>" + NL +
242N/A "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
242N/A "<CODE>&nbsp;void</CODE></FONT></TD>" + NL +
242N/A "<TD><CODE><STRONG>AnnotationTypeUsage.</STRONG><STRONG>" +
242N/A "<A HREF=\"../../pkg/AnnotationTypeUsage.html#method()\">" +
242N/A "method</A></STRONG>()</CODE>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
242N/A "Method parameters in <A HREF=\"../../pkg/package-summary.html\">pkg" +
242N/A "</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" " +
242N/A "title=\"annotation in pkg\">AnnotationType</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Modifier and Type" +
242N/A "</TH>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Method and Description</TH>" + NL +
242N/A "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
242N/A "<CODE>&nbsp;void</CODE></FONT></TD>" + NL +
242N/A "<TD><CODE><STRONG>AnnotationTypeUsage.</STRONG><STRONG>" +
242N/A "<A HREF=\"../../pkg/AnnotationTypeUsage.html#methodWithParams" +
242N/A "(int, int)\">methodWithParams</A></STRONG>(int&nbsp;documented," + NL +
242N/A " int&nbsp;undocmented)</CODE>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
242N/A "Constructors in <A HREF=\"../../pkg/package-summary.html\">pkg" +
242N/A "</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" " +
242N/A "title=\"annotation in pkg\">AnnotationType</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Constructor and Description" +
242N/A "</TH>" + NL + "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD><CODE><STRONG><A HREF=\"../../pkg/" +
242N/A "AnnotationTypeUsage.html#AnnotationTypeUsage()\">" +
242N/A "AnnotationTypeUsage</A></STRONG>()</CODE>"
0N/A },
0N/A
0N/A {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
242N/A "Constructor parameters in <A HREF=\"../../pkg/package-summary.html\">pkg" +
242N/A "</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" " +
242N/A "title=\"annotation in pkg\">AnnotationType</A></CAPTION>" + NL +
242N/A "<TR>" + NL + "<TH CLASS=\"TableHeader\" SCOPE=\"col\"" +
242N/A " NOWRAP>Constructor and Description" +
242N/A "</TH>" + NL + "</TR>" + NL +
242N/A "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
242N/A "<TD><CODE><STRONG><A HREF=\"../../pkg/" +
242N/A "AnnotationTypeUsage.html#AnnotationTypeUsage(int, int)\">" +
242N/A "AnnotationTypeUsage</A></STRONG>(int&nbsp;documented," + NL +
242N/A " int&nbsp;undocmented)</CODE>"
0N/A },
0N/A
0N/A //=================================
0N/A // TYPE PARAMETER IN INDEX
0N/A //=================================
0N/A {BUG_ID + FS + "index-all.html",
181N/A "<A HREF=\"./pkg2/Foo.html#method(java.util.Vector)\"><STRONG>method(Vector&lt;Object&gt;)</STRONG></A>"
0N/A },
0N/A //=================================
0N/A // TYPE PARAMETER IN INDEX
0N/A //=================================
0N/A {BUG_ID + FS + "index-all.html",
181N/A "<A HREF=\"./pkg2/Foo.html#method(java.util.Vector)\"><STRONG>method(Vector&lt;Object&gt;)</STRONG></A>"
0N/A },
0N/A };
0N/A private static final String[][] NEGATED_TEST = {
0N/A //=================================
0N/A // ENUM TESTING
0N/A //=================================
0N/A //NO constructor section
181N/A {BUG_ID + FS + "pkg" + FS + "Coin.html", "<STRONG>Constructor Summary</STRONG>"},
0N/A //=================================
0N/A // TYPE PARAMETER TESTING
0N/A //=================================
0N/A //No type parameters in class frame.
0N/A {BUG_ID + FS + "allclasses-frame.html",
0N/A "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
0N/A "TypeParameters</A>&lt;<A HREF=\"../pkg/TypeParameters.html\" " +
0N/A "title=\"type parameter in TypeParameters\">E</A>&gt;"
0N/A },
0N/A
0N/A //==============================================================
0N/A // ANNOTATION TYPE USAGE TESTING (When @Documented is omitted)
0N/A //===============================================================
0N/A
0N/A //CLASS
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" + NL +
0N/A "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Class Annotation\"," + NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
232N/A "</FONT>public class <STRONG>AnnotationTypeUsage</STRONG></DT><DT>extends java.lang.Object</DT></DL>"},
0N/A
0N/A //FIELD
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" + NL +
0N/A "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Field Annotation\"," + NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
181N/A "</FONT>public int <STRONG>field</STRONG>"},
0N/A
0N/A //CONSTRUCTOR
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" + NL +
0N/A "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Constructor Annotation\"," + NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
181N/A "</FONT>public <STRONG>AnnotationTypeUsage</STRONG>()"},
0N/A
0N/A //METHOD
0N/A {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
0N/A "<FONT SIZE=\"-1\">" + NL +
0N/A "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Method Annotation\"," + NL +
0N/A " <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
181N/A "</FONT>public void <STRONG>method</STRONG>()"},
0N/A
0N/A //=================================
0N/A // Make sure annotation types do not
0N/A // trigger this warning.
0N/A //=================================
0N/A {WARNING_OUTPUT,
0N/A "Internal error: package sets don't match: [] with: null"
0N/A },
0N/A };
0N/A
0N/A /**
0N/A * The entry point of the test.
0N/A * @param args the array of command line arguments.
0N/A */
0N/A public static void main(String[] args) {
0N/A TestNewLanguageFeatures tester = new TestNewLanguageFeatures();
0N/A run(tester, ARGS, TEST, NEGATED_TEST);
0N/A tester.printSummary();
0N/A }
0N/A
0N/A /**
0N/A * {@inheritDoc}
0N/A */
0N/A public String getBugId() {
0N/A return BUG_ID;
0N/A }
0N/A
0N/A /**
0N/A * {@inheritDoc}
0N/A */
0N/A public String getBugName() {
0N/A return getClass().getName();
0N/A }
0N/A}