langtools/test/com/sun/javadoc/testOrdering/C.java
author alexsch
Fri, 08 Aug 2014 16:19:36 +0400
changeset 26033 3f7c9aad7cc0
parent 24220 eb213562268d
permissions -rw-r--r--
8017284: Aqua LaF: memory leak when HTML is used for JTabbedPane tab titles Reviewed-by: serb, pchelko
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24220
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     1
/*
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     2
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     4
 *
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     7
 * published by the Free Software Foundation.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     8
 *
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    13
 * accompanied this code).
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    14
 *
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    18
 *
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    21
 * questions.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    22
 */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    23
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    24
/**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    25
 * Class in an unnamed package.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    26
 */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    27
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    28
public class C {
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    29
    /**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    30
     * A ctor
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    31
     * @param c a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    32
     */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    33
    public C(UsedInC c){}
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    34
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    35
    /**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    36
     * another ctor
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    37
     * @param c  a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    38
     * @param s  a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    39
     */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    40
    public C(UsedInC c, String s) {}
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    41
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    42
    /**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    43
     * yet another ctor
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    44
     * @param c  a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    45
     * @param i  a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    46
     */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    47
    public C(UsedInC c, int i) {}
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    48
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    49
    /**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    50
     * Field in C.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    51
     */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    52
    public UsedInC fieldInC;
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    53
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    54
    /**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    55
     * Method in C.
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    56
     * @param p  a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    57
     * @return UsedInC
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    58
     */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    59
    public UsedInC methodInC(UsedInC p) { return p;}
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    60
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    61
    /**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    62
     * A static method
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    63
     * @param s  a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    64
     * @return UsedInC
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    65
     */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    66
    public static UsedInC ymethod(String s) {return null;}
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    67
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    68
    /**
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    69
     * Another static method variant
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    70
     * @param value  a param
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    71
     * @return UsedInC
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    72
     */
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    73
    public static UsedInC ymethod(int value) {return -1;}
eb213562268d 8039410: [javadoc] fix class-use items to be deterministic and index ordering
ksrini
parents:
diff changeset
    74
}