langtools/test/com/sun/javadoc/testConstructors/TestConstructors.java
author jjg
Fri, 18 Apr 2014 17:25:43 -0700
changeset 24065 fc4022e50129
parent 23971 f5ff1f5a8dee
child 24072 e7549dcbc4af
permissions -rw-r--r--
8041150: Avoid silly use of static methods in JavadocTester Reviewed-by: ksrini
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     1
/*
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
     2
 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     4
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     8
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    13
 * accompanied this code).
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    14
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    18
 *
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    21
 * questions.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    22
 */
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    23
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    24
/*
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    25
 * @test
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    26
 * @bug 8025524 8031625
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    27
 * @summary Test for constructor name which should be a non-qualified name.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    28
 * @author Bhavesh Patel
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    29
 * @library ../lib/
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    30
 * @build JavadocTester TestConstructors
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    31
 * @run main TestConstructors
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    32
 */
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    33
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    34
public class TestConstructors extends JavadocTester {
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    35
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    36
    private static final String BUG_ID = "8025524";
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    37
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    38
    //Input for string search tests.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    39
    private static final String[][] TEST = {
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    40
        {BUG_ID + "/pkg1/Outer.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    41
            "<dt><span class=\"seeLabel\">See Also:</span></dt>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    42
            "<dd><a href=\"../pkg1/Outer.Inner.html#Inner--\"><code>Inner()</code></a>, \n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    43
            "<a href=\"../pkg1/Outer.Inner.html#Inner-int-\"><code>Inner(int)</code></a>, \n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    44
            "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner--\"><code>NestedInner()</code></a>, \n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    45
            "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner-int-\"><code>NestedInner(int)</code></a>, \n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    46
            "<a href=\"../pkg1/Outer.html#Outer--\"><code>Outer()</code></a>, \n" +
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    47
            "<a href=\"../pkg1/Outer.html#Outer-int-\"><code>Outer(int)</code></a>"
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    48
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    49
        {BUG_ID + "/pkg1/Outer.html",
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    50
            "Link: <a href=\"../pkg1/Outer.Inner.html#Inner--\"><code>Inner()</code></a>, " +
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    51
            "<a href=\"../pkg1/Outer.html#Outer-int-\"><code>Outer(int)</code></a>, " +
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    52
            "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner-int-\"><code>" +
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    53
            "NestedInner(int)</code></a>"
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
    54
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    55
        {BUG_ID + "/pkg1/Outer.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    56
            "<a href=\"../pkg1/Outer.html#Outer--\">Outer</a></span>()"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    57
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    58
        {BUG_ID + "/pkg1/Outer.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    59
            "<a name=\"Outer--\">"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    60
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    61
        {BUG_ID + "/pkg1/Outer.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    62
            "<a href=\"../pkg1/Outer.html#Outer-int-\">Outer</a></span>(int&nbsp;i)"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    63
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    64
        {BUG_ID + "/pkg1/Outer.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    65
            "<a name=\"Outer-int-\">"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    66
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    67
        {BUG_ID + "/pkg1/Outer.Inner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    68
            "<a href=\"../pkg1/Outer.Inner.html#Inner--\">Inner</a></span>()"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    69
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    70
        {BUG_ID + "/pkg1/Outer.Inner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    71
            "<a name=\"Inner--\">"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    72
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    73
        {BUG_ID + "/pkg1/Outer.Inner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    74
            "<a href=\"../pkg1/Outer.Inner.html#Inner-int-\">Inner</a></span>(int&nbsp;i)"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    75
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    76
        {BUG_ID + "/pkg1/Outer.Inner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    77
            "<a name=\"Inner-int-\">"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    78
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    79
        {BUG_ID + "/pkg1/Outer.Inner.NestedInner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    80
            "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner--\">NestedInner</a></span>()"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    81
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    82
        {BUG_ID + "/pkg1/Outer.Inner.NestedInner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    83
            "<a name=\"NestedInner--\">"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    84
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    85
        {BUG_ID + "/pkg1/Outer.Inner.NestedInner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    86
            "<a href=\"../pkg1/Outer.Inner.NestedInner.html#NestedInner-int-\">NestedInner</a></span>(int&nbsp;i)"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    87
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    88
        {BUG_ID + "/pkg1/Outer.Inner.NestedInner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    89
            "<a name=\"NestedInner-int-\">"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    90
        }
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    91
    };
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    92
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    93
    private static final String[][] NEGATED_TEST = {
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    94
        {BUG_ID + "/pkg1/Outer.Inner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    95
            "Outer.Inner--"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    96
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
    97
        {BUG_ID + "/pkg1/Outer.Inner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    98
            "Outer.Inner-int-"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
    99
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
   100
        {BUG_ID + "/pkg1/Outer.Inner.NestedInner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   101
            "Outer.Inner.NestedInner--"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   102
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
   103
        {BUG_ID + "/pkg1/Outer.Inner.NestedInner.html",
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   104
            "Outer.Inner.NestedInner-int-"
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   105
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
   106
        {BUG_ID + "/pkg1/Outer.html",
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   107
            "<a href=\"../pkg1/Outer.Inner.html#Outer.Inner--\"><code>Outer.Inner()</code></a>"
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   108
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
   109
        {BUG_ID + "/pkg1/Outer.html",
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   110
            "<a href=\"../pkg1/Outer.Inner.html#Outer.Inner-int-\"><code>Outer.Inner(int)</code></a>"
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   111
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
   112
        {BUG_ID + "/pkg1/Outer.html",
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   113
            "<a href=\"../pkg1/Outer.Inner.NestedInner.html#Outer.Inner.NestedInner--\"><code>Outer.Inner.NestedInner()</code></a>"
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   114
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 23794
diff changeset
   115
        {BUG_ID + "/pkg1/Outer.html",
23794
9437acfa99e9 8031625: javadoc problems referencing inner class constructors
bpatel
parents: 21717
diff changeset
   116
            "<a href=\"../pkg1/Outer.Inner.NestedInner.html#Outer.Inner.NestedInner-int-\"><code>Outer.Inner.NestedInner(int)</code></a>"
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   117
        }
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   118
    };
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   119
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   120
    private static final String[] ARGS = new String[] {
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   121
        "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg1"
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   122
    };
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   123
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   124
    /**
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   125
     * The entry point of the test.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   126
     * @param args the array of command line arguments.
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   127
     */
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   128
    public static void main(String[] args) throws Exception {
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   129
        TestConstructors tester = new TestConstructors();
24065
fc4022e50129 8041150: Avoid silly use of static methods in JavadocTester
jjg
parents: 23971
diff changeset
   130
        tester.run(ARGS, TEST, NEGATED_TEST);
21717
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   131
        tester.printSummary();
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   132
    }
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   133
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   134
    /**
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   135
     * {@inheritDoc}
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   136
     */
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   137
    public String getBugId() {
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   138
        return BUG_ID;
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   139
    }
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   140
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   141
    /**
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   142
     * {@inheritDoc}
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   143
     */
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   144
    public String getBugName() {
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   145
        return getClass().getName();
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   146
    }
11ba59c9bbb5 8025524: javadoc does not correctly locate constructors for nested classes
bpatel
parents:
diff changeset
   147
}