langtools/test/com/sun/javadoc/testTypeAnnotations/TestTypeAnnotations.java
author jjg
Tue, 15 Oct 2013 15:57:13 -0700
changeset 21041 99f5e5e97425
parent 21008 af0b915df7cc
child 21478 fa4c7cda1b41
permissions -rw-r--r--
8026564: import changes from type-annotations forest Reviewed-by: jjg Contributed-by: wdietl@gmail.com, steve.sides@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     1
/*
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     2
 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     4
 *
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     8
 *
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    13
 * accompanied this code).
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    14
 *
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    18
 *
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    21
 * questions.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    22
 */
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    23
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    24
/*
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    25
 * @test
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
    26
 * @bug      8005091 8009686 8025633
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    27
 * @summary  Make sure that type annotations are displayed correctly
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    28
 * @author   Bhavesh Patel
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    29
 * @library  ../lib/
21041
99f5e5e97425 8026564: import changes from type-annotations forest
jjg
parents: 21008
diff changeset
    30
 * @ignore
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    31
 * @build    JavadocTester TestTypeAnnotations
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    32
 * @run main TestTypeAnnotations
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    33
 */
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    34
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    35
public class TestTypeAnnotations extends JavadocTester {
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    36
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    37
    //Test information.
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    38
    private static final String BUG_ID = "8005091-8009686";
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    39
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    40
    //Javadoc arguments.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    41
    private static final String[] ARGS = new String[] {
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    42
        "-d", BUG_ID, "-sourcepath", SRC_DIR, "-private", "typeannos"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    43
    };
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    44
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    45
    //Input for string search tests.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    46
    private static final String[][] NEGATED_TEST = NO_TEST;
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    47
    private static final String[][] TEST = {
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    48
        // Test for type annotations on Class Extends (ClassExtends.java).
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    49
        {BUG_ID + FS + "typeannos" + FS + "MyClass.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    50
            "extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    51
            "in typeannos\">@ClassExtA</a> <a href=\"../typeannos/ParameterizedClass.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    52
            "title=\"class in typeannos\">ParameterizedClass</a>&lt;<a href=\"" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    53
            "../typeannos/ClassExtB.html\" title=\"annotation in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    54
            "@ClassExtB</a> java.lang.String&gt;"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    55
        },
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    56
        {BUG_ID + FS + "typeannos" + FS + "MyClass.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    57
            "implements <a href=\"../typeannos/ClassExtB.html\" title=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    58
            "annotation in typeannos\">@ClassExtB</a> java.lang.CharSequence, " +
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    59
            "<a href=\"../typeannos/ClassExtA.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    60
            "typeannos\">@ClassExtA</a> <a href=\"../typeannos/ParameterizedInterface.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    61
            "title=\"interface in typeannos\">ParameterizedInterface</a>&lt;" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    62
            "<a href=\"../typeannos/ClassExtB.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    63
            "typeannos\">@ClassExtB</a> java.lang.String&gt;</pre>"
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    64
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    65
        {BUG_ID + FS + "typeannos" + FS + "MyInterface.html",
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    66
            "extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    67
            "in typeannos\">@ClassExtA</a> <a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    68
            "ParameterizedInterface.html\" title=\"interface in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    69
            "ParameterizedInterface</a>&lt;<a href=\"../typeannos/ClassExtA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    70
            "title=\"annotation in typeannos\">@ClassExtA</a> java.lang.String&gt;, " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    71
            "<a href=\"../typeannos/ClassExtB.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    72
            "typeannos\">@ClassExtB</a> java.lang.CharSequence</pre>"
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    73
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    74
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    75
        // Test for type annotations on Class Parameters (ClassParameters.java).
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    76
        {BUG_ID + FS + "typeannos" + FS + "ExtendsBound.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    77
            "class <span class=\"strong\">ExtendsBound&lt;K extends <a " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    78
            "href=\"../typeannos/ClassParamA.html\" title=\"annotation in " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    79
            "typeannos\">@ClassParamA</a> java.lang.String&gt;</span>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    80
        },
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    81
        {BUG_ID + FS + "typeannos" + FS + "ExtendsGeneric.html",
18651
439898801aa4 8014017: extra space in javadoc class heading
bpatel
parents: 17578
diff changeset
    82
            "<pre>class <span class=\"strong\">ExtendsGeneric&lt;K extends " +
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    83
            "<a href=\"../typeannos/ClassParamA.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    84
            "typeannos\">@ClassParamA</a> <a href=\"../typeannos/Unannotated.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    85
            "title=\"class in typeannos\">Unannotated</a>&lt;<a href=\"" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    86
            "../typeannos/ClassParamB.html\" title=\"annotation in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    87
            "@ClassParamB</a> java.lang.String&gt;&gt;</span>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    88
        },
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    89
        {BUG_ID + FS + "typeannos" + FS + "TwoBounds.html",
18651
439898801aa4 8014017: extra space in javadoc class heading
bpatel
parents: 17578
diff changeset
    90
            "<pre>class <span class=\"strong\">TwoBounds&lt;K extends <a href=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    91
            "../typeannos/ClassParamA.html\" title=\"annotation in typeannos\">" +
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    92
            "@ClassParamA</a> java.lang.String,V extends <a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
    93
            "ClassParamB.html\" title=\"annotation in typeannos\">@ClassParamB" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    94
            "</a> java.lang.String&gt;</span>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    95
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    96
        {BUG_ID + FS + "typeannos" + FS + "Complex1.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    97
            "class <span class=\"strong\">Complex1&lt;K extends <a href=\"../" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
    98
            "typeannos/ClassParamA.html\" title=\"annotation in typeannos\">" +
17559
87c28ee29329 8011642: Remove LinkOutput in favor of direct use of Content
jjg
parents: 17544
diff changeset
    99
            "@ClassParamA</a> java.lang.String &amp; java.lang.Runnable&gt;</span>"
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   100
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   101
        {BUG_ID + FS + "typeannos" + FS + "Complex2.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   102
            "class <span class=\"strong\">Complex2&lt;K extends java.lang." +
17559
87c28ee29329 8011642: Remove LinkOutput in favor of direct use of Content
jjg
parents: 17544
diff changeset
   103
            "String &amp; <a href=\"../typeannos/ClassParamB.html\" title=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   104
            "annotation in typeannos\">@ClassParamB</a> java.lang.Runnable&gt;</span>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   105
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   106
        {BUG_ID + FS + "typeannos" + FS + "ComplexBoth.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   107
            "class <span class=\"strong\">ComplexBoth&lt;K extends <a href=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   108
            "../typeannos/ClassParamA.html\" title=\"annotation in typeannos\"" +
17559
87c28ee29329 8011642: Remove LinkOutput in favor of direct use of Content
jjg
parents: 17544
diff changeset
   109
            ">@ClassParamA</a> java.lang.String &amp; <a href=\"../typeannos/" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   110
            "ClassParamA.html\" title=\"annotation in typeannos\">@ClassParamA" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   111
            "</a> java.lang.Runnable&gt;</span>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   112
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   113
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   114
        // Test for type annotations on fields (Fields.java).
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   115
        {BUG_ID + FS + "typeannos" + FS + "DefaultScope.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   116
            "<pre><a href=\"../typeannos/Parameterized.html\" title=\"class in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   117
            "typeannos\">Parameterized</a>&lt;<a href=\"../typeannos/FldA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   118
            "title=\"annotation in typeannos\">@FldA</a> java.lang.String,<a " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   119
            "href=\"../typeannos/FldB.html\" title=\"annotation in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   120
            "@FldB</a> java.lang.String&gt; bothTypeArgs</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   121
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   122
        {BUG_ID + FS + "typeannos" + FS + "DefaultScope.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   123
            "<pre><a href=\"../typeannos/FldA.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   124
            "typeannos\">@FldA</a> java.lang.String <a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   125
            "FldB.html\" title=\"annotation in typeannos\">@FldB</a> [] " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   126
            "array1Deep</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   127
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   128
        {BUG_ID + FS + "typeannos" + FS + "DefaultScope.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   129
            "<pre>java.lang.String[] <a href=\"../typeannos/FldB.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   130
            "title=\"annotation in typeannos\">@FldB</a> [] array2SecondOld</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   131
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   132
        {BUG_ID + FS + "typeannos" + FS + "DefaultScope.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   133
            "<pre><a href=\"../typeannos/FldD.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   134
            "typeannos\">@FldD</a> java.lang.String <a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   135
            "FldC.html\" title=\"annotation in typeannos\">@FldC</a> <a href=\"" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   136
            "../typeannos/FldA.html\" title=\"annotation in typeannos\">@FldA" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   137
            "</a> [] <a href=\"../typeannos/FldC.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   138
            "typeannos\">@FldC</a> <a href=\"../typeannos/FldB.html\" title=\"" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   139
            "annotation in typeannos\">@FldB</a> [] array2Deep</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   140
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   141
        {BUG_ID + FS + "typeannos" + FS + "ModifiedScoped.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   142
            "<pre>public final&nbsp;<a href=\"../typeannos/Parameterized.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   143
            "title=\"class in typeannos\">Parameterized</a>&lt;<a href=\"../" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   144
            "typeannos/FldA.html\" title=\"annotation in typeannos\">@FldA</a> " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   145
            "<a href=\"../typeannos/Parameterized.html\" title=\"class in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   146
            "typeannos\">Parameterized</a>&lt;<a href=\"../typeannos/FldA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   147
            "title=\"annotation in typeannos\">@FldA</a> java.lang.String,<a " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   148
            "href=\"../typeannos/FldB.html\" title=\"annotation in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   149
            "@FldB</a> java.lang.String&gt;,<a href=\"../typeannos/FldB.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   150
            "title=\"annotation in typeannos\">@FldB</a> java.lang.String&gt; " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   151
            "nestedParameterized</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   152
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   153
        {BUG_ID + FS + "typeannos" + FS + "ModifiedScoped.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   154
            "<pre>public final&nbsp;<a href=\"../typeannos/FldA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   155
            "title=\"annotation in typeannos\">@FldA</a> java.lang.String[][] " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   156
            "array2</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   157
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   158
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   159
        // Test for type annotations on method return types (MethodReturnType.java).
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   160
        {BUG_ID + FS + "typeannos" + FS + "MtdDefaultScope.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   161
            "<pre>public&nbsp;&lt;T&gt;&nbsp;<a href=\"../typeannos/MRtnA.html\" " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   162
            "title=\"annotation in typeannos\">@MRtnA</a> java.lang.String" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   163
            "&nbsp;method()</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   164
        },
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   165
        {BUG_ID + FS + "typeannos" + FS + "MtdDefaultScope.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   166
            "<pre><a href=\"../typeannos/MRtnA.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   167
            "typeannos\">@MRtnA</a> java.lang.String <a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   168
            "MRtnA.html\" title=\"annotation in typeannos\">@MRtnA</a> [] <a " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   169
            "href=\"../typeannos/MRtnB.html\" title=\"annotation in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   170
            "@MRtnB</a> []&nbsp;array2Deep()</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   171
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   172
        {BUG_ID + FS + "typeannos" + FS + "MtdDefaultScope.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   173
            "<pre><a href=\"../typeannos/MRtnA.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   174
            "typeannos\">@MRtnA</a> java.lang.String[][]&nbsp;array2()</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   175
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   176
        {BUG_ID + FS + "typeannos" + FS + "MtdModifiedScoped.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   177
            "<pre>public final&nbsp;<a href=\"../typeannos/MtdParameterized.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   178
            "title=\"class in typeannos\">MtdParameterized</a>&lt;<a href=\"../" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   179
            "typeannos/MRtnA.html\" title=\"annotation in typeannos\">@MRtnA</a> " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   180
            "<a href=\"../typeannos/MtdParameterized.html\" title=\"class in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   181
            "typeannos\">MtdParameterized</a>&lt;<a href=\"../typeannos/MRtnA." +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   182
            "html\" title=\"annotation in typeannos\">@MRtnA</a> java.lang." +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   183
            "String,<a href=\"../typeannos/MRtnB.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   184
            "typeannos\">@MRtnB</a> java.lang.String&gt;,<a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   185
            "MRtnB.html\" title=\"annotation in typeannos\">@MRtnB</a> java." +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   186
            "lang.String&gt;&nbsp;nestedMtdParameterized()</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   187
        },
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   188
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   189
        // Test for type annotations on method type parameters (MethodTypeParameters.java).
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   190
        {BUG_ID + FS + "typeannos" + FS + "UnscopedUnmodified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   191
            "<pre>&lt;K extends <a href=\"../typeannos/MTyParamA.html\" title=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   192
            "annotation in typeannos\">@MTyParamA</a> java.lang.String&gt;" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   193
            "&nbsp;void&nbsp;methodExtends()</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   194
        },
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   195
        {BUG_ID + FS + "typeannos" + FS + "UnscopedUnmodified.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   196
            "<pre>&lt;K extends <a href=\"../typeannos/MTyParamA.html\" title=\"" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   197
            "annotation in typeannos\">@MTyParamA</a> <a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   198
            "MtdTyParameterized.html\" title=\"class in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   199
            "MtdTyParameterized</a>&lt;<a href=\"../typeannos/MTyParamB.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   200
            "title=\"annotation in typeannos\">@MTyParamB</a> java.lang.String" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   201
            "&gt;&gt;&nbsp;void&nbsp;nestedExtends()</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   202
        },
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   203
        {BUG_ID + FS + "typeannos" + FS + "PublicModifiedMethods.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   204
            "<pre>public final&nbsp;&lt;K extends <a href=\"../typeannos/" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   205
            "MTyParamA.html\" title=\"annotation in typeannos\">@MTyParamA</a> " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   206
            "java.lang.String&gt;&nbsp;void&nbsp;methodExtends()</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   207
        },
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   208
        {BUG_ID + FS + "typeannos" + FS + "PublicModifiedMethods.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   209
            "<pre>public final&nbsp;&lt;K extends <a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   210
            "MTyParamA.html\" title=\"annotation in typeannos\">@MTyParamA</a> " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   211
            "java.lang.String,V extends <a href=\"../typeannos/MTyParamA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   212
            "title=\"annotation in typeannos\">@MTyParamA</a> <a href=\"../" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   213
            "typeannos/MtdTyParameterized.html\" title=\"class in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   214
            "MtdTyParameterized</a>&lt;<a href=\"../typeannos/MTyParamB.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   215
            "title=\"annotation in typeannos\">@MTyParamB</a> java.lang.String" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   216
            "&gt;&gt;&nbsp;void&nbsp;dual()</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   217
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   218
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   219
        // Test for type annotations on parameters (Parameters.java).
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   220
        {BUG_ID + FS + "typeannos" + FS + "Parameters.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   221
            "<pre>void&nbsp;unannotated(<a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   222
            "ParaParameterized.html\" title=\"class in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   223
            "ParaParameterized</a>&lt;java.lang.String,java.lang.String&gt;" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   224
            "&nbsp;a)</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   225
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   226
        {BUG_ID + FS + "typeannos" + FS + "Parameters.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   227
            "<pre>void&nbsp;nestedParaParameterized(<a href=\"../typeannos/" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   228
            "ParaParameterized.html\" title=\"class in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   229
            "ParaParameterized</a>&lt;<a href=\"../typeannos/ParamA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   230
            "title=\"annotation in typeannos\">@ParamA</a> <a href=\"../" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   231
            "typeannos/ParaParameterized.html\" title=\"class in typeannos\">" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   232
            "ParaParameterized</a>&lt;<a href=\"../typeannos/ParamA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   233
            "title=\"annotation in typeannos\">@ParamA</a> java.lang.String," +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   234
            "<a href=\"../typeannos/ParamB.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   235
            "typeannos\">@ParamB</a> java.lang.String&gt;,<a href=\"../" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   236
            "typeannos/ParamB.html\" title=\"annotation in typeannos\">@ParamB" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   237
            "</a> java.lang.String&gt;&nbsp;a)</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   238
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   239
        {BUG_ID + FS + "typeannos" + FS + "Parameters.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   240
            "<pre>void&nbsp;array2Deep(<a href=\"../typeannos/ParamA.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   241
            "title=\"annotation in typeannos\">@ParamA</a> java.lang.String " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   242
            "<a href=\"../typeannos/ParamA.html\" title=\"annotation in " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   243
            "typeannos\">@ParamA</a> [] <a href=\"../typeannos/ParamB.html\" " +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   244
            "title=\"annotation in typeannos\">@ParamB</a> []&nbsp;a)</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   245
        },
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   246
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   247
        // Test for type annotations on throws (Throws.java).
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   248
        {BUG_ID + FS + "typeannos" + FS + "ThrDefaultUnmodified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   249
            "<pre>void&nbsp;oneException()" + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   250
            "           throws <a href=\"../typeannos/ThrA.html\" title=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   251
            "annotation in typeannos\">@ThrA</a> java.lang.Exception</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   252
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   253
        {BUG_ID + FS + "typeannos" + FS + "ThrDefaultUnmodified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   254
            "<pre>void&nbsp;twoExceptions()" + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   255
            "            throws <a href=\"../typeannos/ThrA.html\" title=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   256
            "annotation in typeannos\">@ThrA</a> java.lang.RuntimeException," + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   257
            "                   <a href=\"../typeannos/ThrA.html\" title=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   258
            "annotation in typeannos\">@ThrA</a> java.lang.Exception</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   259
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   260
        {BUG_ID + FS + "typeannos" + FS + "ThrPublicModified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   261
            "<pre>public final&nbsp;void&nbsp;oneException(java.lang.String&nbsp;a)" + NL +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   262
            "                        throws <a href=\"../typeannos/ThrA.html\" " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   263
            "title=\"annotation in typeannos\">@ThrA</a> java.lang.Exception</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   264
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   265
        {BUG_ID + FS + "typeannos" + FS + "ThrPublicModified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   266
            "<pre>public final&nbsp;void&nbsp;twoExceptions(java.lang.String&nbsp;a)" + NL +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   267
            "                         throws <a href=\"../typeannos/ThrA.html\" " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   268
            "title=\"annotation in typeannos\">@ThrA</a> java.lang.RuntimeException," + NL +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   269
            "                                <a href=\"../typeannos/ThrA.html\" " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   270
            "title=\"annotation in typeannos\">@ThrA</a> java.lang.Exception</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   271
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   272
        {BUG_ID + FS + "typeannos" + FS + "ThrWithValue.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   273
            "<pre>void&nbsp;oneException()" + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   274
            "           throws <a href=\"../typeannos/ThrB.html\" title=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   275
            "annotation in typeannos\">@ThrB</a>(<a href=\"../typeannos/" +
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
   276
            "ThrB.html#value--\">value</a>=\"m\") java.lang.Exception</pre>"
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   277
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   278
        {BUG_ID + FS + "typeannos" + FS + "ThrWithValue.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   279
            "<pre>void&nbsp;twoExceptions()" + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   280
            "            throws <a href=\"../typeannos/ThrB.html\" title=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   281
            "annotation in typeannos\">@ThrB</a>(<a href=\"../typeannos/" +
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
   282
            "ThrB.html#value--\">value</a>=\"m\") java.lang.RuntimeException," + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   283
            "                   <a href=\"../typeannos/ThrA.html\" title=\"" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   284
            "annotation in typeannos\">@ThrA</a> java.lang.Exception</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   285
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   286
16969
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   287
        // Test for type annotations on type parameters (TypeParameters.java).
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   288
        {BUG_ID + FS + "typeannos" + FS + "TestMethods.html",
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   289
            "<pre>&lt;K,V extends <a href=\"../typeannos/TyParaA.html\" title=\"" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   290
            "annotation in typeannos\">@TyParaA</a> java.lang.String&gt;&nbsp;" +
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   291
            "void&nbsp;secondAnnotated()</pre>"
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   292
        },
b58d8a70d921 8009686: Generated javadoc documentation should be able to display type annotation on an array
bpatel
parents: 16964
diff changeset
   293
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   294
        // Test for type annotations on wildcard type (Wildcards.java).
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   295
        {BUG_ID + FS + "typeannos" + FS + "BoundTest.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   296
            "<pre>void&nbsp;wcExtends(<a href=\"../typeannos/MyList.html\" " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   297
            "title=\"class in typeannos\">MyList</a>&lt;? extends <a href=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   298
            "../typeannos/WldA.html\" title=\"annotation in typeannos\">@WldA" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   299
            "</a> java.lang.String&gt;&nbsp;l)</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   300
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   301
        {BUG_ID + FS + "typeannos" + FS + "BoundTest.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   302
            "<pre><a href=\"../typeannos/MyList.html\" title=\"class in " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   303
            "typeannos\">MyList</a>&lt;? super <a href=\"../typeannos/WldA.html\" " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   304
            "title=\"annotation in typeannos\">@WldA</a> java.lang.String&gt;" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   305
            "&nbsp;returnWcSuper()</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   306
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   307
        {BUG_ID + FS + "typeannos" + FS + "BoundWithValue.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   308
            "<pre>void&nbsp;wcSuper(<a href=\"../typeannos/MyList.html\" title=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   309
            "class in typeannos\">MyList</a>&lt;? super <a href=\"../typeannos/" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   310
            "WldB.html\" title=\"annotation in typeannos\">@WldB</a>(<a href=\"" +
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
   311
            "../typeannos/WldB.html#value--\">value</a>=\"m\") java.lang." +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   312
            "String&gt;&nbsp;l)</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   313
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   314
        {BUG_ID + FS + "typeannos" + FS + "BoundWithValue.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   315
            "<pre><a href=\"../typeannos/MyList.html\" title=\"class in " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   316
            "typeannos\">MyList</a>&lt;? extends <a href=\"../typeannos/WldB." +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   317
            "html\" title=\"annotation in typeannos\">@WldB</a>(<a href=\"../" +
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
   318
            "typeannos/WldB.html#value--\">value</a>=\"m\") java.lang.String" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   319
            "&gt;&nbsp;returnWcExtends()</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   320
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   321
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   322
        // Test for receiver annotations (Receivers.java).
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   323
        {BUG_ID + FS + "typeannos" + FS + "DefaultUnmodified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   324
            "<pre>void&nbsp;withException(<a href=\"../typeannos/RcvrA.html\" " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   325
            "title=\"annotation in typeannos\">@RcvrA</a>&nbsp;" +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   326
            "DefaultUnmodified&nbsp;this)" + NL + "            throws java." +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   327
            "lang.Exception</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   328
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   329
        {BUG_ID + FS + "typeannos" + FS + "DefaultUnmodified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   330
            "<pre>java.lang.String&nbsp;nonVoid(<a href=\"../typeannos/RcvrA." +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   331
            "html\" title=\"annotation in typeannos\">@RcvrA</a> <a href=\"../" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   332
            "typeannos/RcvrB.html\" title=\"annotation in typeannos\">@RcvrB" +
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
   333
            "</a>(<a href=\"../typeannos/RcvrB.html#value--\">value</a>=\"m\")" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   334
            "&nbsp;DefaultUnmodified&nbsp;this)</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   335
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   336
        {BUG_ID + FS + "typeannos" + FS + "DefaultUnmodified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   337
            "<pre>&lt;T extends java.lang.Runnable&gt;&nbsp;void&nbsp;accept(" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   338
            "<a href=\"../typeannos/RcvrA.html\" title=\"annotation in " +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   339
            "typeannos\">@RcvrA</a>&nbsp;DefaultUnmodified&nbsp;this," + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   340
            "                                           T&nbsp;r)" + NL +
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   341
            "                                    throws java.lang.Exception</pre>"
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   342
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   343
        {BUG_ID + FS + "typeannos" + FS + "PublicModified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   344
            "<pre>public final&nbsp;java.lang.String&nbsp;nonVoid(<a href=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   345
            "../typeannos/RcvrA.html\" title=\"annotation in typeannos\">" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   346
            "@RcvrA</a>&nbsp;PublicModified&nbsp;this)</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   347
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   348
        {BUG_ID + FS + "typeannos" + FS + "PublicModified.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   349
            "<pre>public final&nbsp;&lt;T extends java.lang.Runnable&gt;&nbsp;" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   350
            "void&nbsp;accept(<a href=\"../typeannos/RcvrA.html\" title=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   351
            "annotation in typeannos\">@RcvrA</a>&nbsp;PublicModified&nbsp;this," + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   352
            "                                                        T&nbsp;r)" + NL +
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   353
            "                                                 throws java.lang.Exception</pre>"
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   354
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   355
        {BUG_ID + FS + "typeannos" + FS + "WithValue.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   356
            "<pre>&lt;T extends java.lang.Runnable&gt;&nbsp;void&nbsp;accept(" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   357
            "<a href=\"../typeannos/RcvrB.html\" title=\"annotation in " +
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
   358
            "typeannos\">@RcvrB</a>(<a href=\"../typeannos/RcvrB.html#value--\">" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   359
            "value</a>=\"m\")&nbsp;WithValue&nbsp;this," + NL +
17564
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   360
            "                                           T&nbsp;r)" + NL +
c329fe11193d 8011288: Erratic/inconsistent indentation of signatures
jjg
parents: 17559
diff changeset
   361
            "                                    throws java.lang.Exception</pre>"
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   362
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   363
        {BUG_ID + FS + "typeannos" + FS + "WithFinal.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   364
            "<pre>java.lang.String&nbsp;nonVoid(<a href=\"../typeannos/RcvrB." +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   365
            "html\" title=\"annotation in typeannos\">@RcvrB</a>(<a href=\"../" +
21008
af0b915df7cc 8025633: Fix javadoc to generate valid anchor names
bpatel
parents: 18651
diff changeset
   366
            "typeannos/RcvrB.html#value--\">value</a>=\"m\")&nbsp;WithFinal" +
16964
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   367
            "&nbsp;this)</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   368
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   369
        {BUG_ID + FS + "typeannos" + FS + "WithBody.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   370
            "<pre>void&nbsp;field(<a href=\"../typeannos/RcvrA.html\" title=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   371
            "annotation in typeannos\">@RcvrA</a>&nbsp;WithBody&nbsp;this)</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   372
        },
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   373
        {BUG_ID + FS + "typeannos" + FS + "Generic2.html",
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   374
            "<pre>void&nbsp;test2(<a href=\"../typeannos/RcvrA.html\" title=\"" +
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   375
            "annotation in typeannos\">@RcvrA</a>&nbsp;Generic2&lt;X&gt;&nbsp;this)</pre>"
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   376
        }
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   377
    };
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   378
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   379
    /**
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   380
     * The entry point of the test.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   381
     * @param args the array of command line arguments.
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   382
     */
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   383
    public static void main(String[] args) {
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   384
        TestTypeAnnotations tester = new TestTypeAnnotations();
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   385
        run(tester, ARGS, TEST, NEGATED_TEST);
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   386
        tester.printSummary();
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   387
    }
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   388
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   389
    /**
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   390
     * {@inheritDoc}
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   391
     */
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   392
    public String getBugId() {
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   393
        return BUG_ID;
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   394
    }
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   395
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   396
    /**
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   397
     * {@inheritDoc}
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   398
     */
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   399
    public String getBugName() {
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   400
        return getClass().getName();
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   401
    }
096de5815398 8005091: javadoc should be able to return the receiver type
bpatel
parents:
diff changeset
   402
}