jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/TypeReference.java
author martin
Tue, 15 Sep 2015 21:56:04 -0700
changeset 32649 2ee9017c7597
parent 25859 3317bb8137f4
child 36635 f0147be2f50f
permissions -rw-r--r--
8136583: Core libraries should use blessed modifier order Summary: Run blessed-modifier-order script (see bug) Reviewed-by: psandoz, chegar, alanb, plevart
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     1
/*
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     3
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     4
 * This code is free software; you can redistribute it and/or modify it
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     5
 * under the terms of the GNU General Public License version 2 only, as
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     6
 * published by the Free Software Foundation.  Oracle designates this
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     7
 * particular file as subject to the "Classpath" exception as provided
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     8
 * by Oracle in the LICENSE file that accompanied this code.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
     9
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    10
 * This code is distributed in the hope that it will be useful, but WITHOUT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    11
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    12
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    13
 * version 2 for more details (a copy is included in the LICENSE file that
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    14
 * accompanied this code).
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    15
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    16
 * You should have received a copy of the GNU General Public License version
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    17
 * 2 along with this work; if not, write to the Free Software Foundation,
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    18
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    19
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    20
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    21
 * or visit www.oracle.com if you need additional information or have any
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    22
 * questions.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    23
 */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    24
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    25
/*
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    26
 * This file is available under and governed by the GNU General Public
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    27
 * License version 2 only, as published by the Free Software Foundation.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    28
 * However, the following notice accompanied the original version of this
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    29
 * file:
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    30
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    31
 * ASM: a very small and fast Java bytecode manipulation framework
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    32
 * Copyright (c) 2000-2013 INRIA, France Telecom
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    33
 * All rights reserved.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    34
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    35
 * Redistribution and use in source and binary forms, with or without
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    36
 * modification, are permitted provided that the following conditions
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    37
 * are met:
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    38
 * 1. Redistributions of source code must retain the above copyright
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    39
 *    notice, this list of conditions and the following disclaimer.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    40
 * 2. Redistributions in binary form must reproduce the above copyright
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    41
 *    notice, this list of conditions and the following disclaimer in the
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    42
 *    documentation and/or other materials provided with the distribution.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    43
 * 3. Neither the name of the copyright holders nor the names of its
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    44
 *    contributors may be used to endorse or promote products derived from
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    45
 *    this software without specific prior written permission.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    46
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    47
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    48
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    49
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    50
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    51
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    52
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    53
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    54
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    55
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    56
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    57
 * THE POSSIBILITY OF SUCH DAMAGE.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    58
 */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    59
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    60
package jdk.internal.org.objectweb.asm;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    61
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    62
/**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    63
 * A reference to a type appearing in a class, field or method declaration, or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    64
 * on an instruction. Such a reference designates the part of the class where
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    65
 * the referenced type is appearing (e.g. an 'extends', 'implements' or 'throws'
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    66
 * clause, a 'new' instruction, a 'catch' clause, a type cast, a local variable
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    67
 * declaration, etc).
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    68
 *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    69
 * @author Eric Bruneton
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    70
 */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    71
public class TypeReference {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    72
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    73
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    74
     * The sort of type references that target a type parameter of a generic
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    75
     * class. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    76
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
    77
    public static final int CLASS_TYPE_PARAMETER = 0x00;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    78
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    79
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    80
     * The sort of type references that target a type parameter of a generic
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    81
     * method. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    82
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
    83
    public static final int METHOD_TYPE_PARAMETER = 0x01;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    84
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    85
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    86
     * The sort of type references that target the super class of a class or one
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    87
     * of the interfaces it implements. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    88
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
    89
    public static final int CLASS_EXTENDS = 0x10;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    90
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    91
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    92
     * The sort of type references that target a bound of a type parameter of a
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    93
     * generic class. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    94
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
    95
    public static final int CLASS_TYPE_PARAMETER_BOUND = 0x11;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    96
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    97
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    98
     * The sort of type references that target a bound of a type parameter of a
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
    99
     * generic method. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   100
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   101
    public static final int METHOD_TYPE_PARAMETER_BOUND = 0x12;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   102
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   103
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   104
     * The sort of type references that target the type of a field. See
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   105
     * {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   106
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   107
    public static final int FIELD = 0x13;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   108
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   109
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   110
     * The sort of type references that target the return type of a method. See
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   111
     * {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   112
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   113
    public static final int METHOD_RETURN = 0x14;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   114
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   115
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   116
     * The sort of type references that target the receiver type of a method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   117
     * See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   118
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   119
    public static final int METHOD_RECEIVER = 0x15;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   120
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   121
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   122
     * The sort of type references that target the type of a formal parameter of
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   123
     * a method. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   124
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   125
    public static final int METHOD_FORMAL_PARAMETER = 0x16;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   126
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   127
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   128
     * The sort of type references that target the type of an exception declared
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   129
     * in the throws clause of a method. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   130
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   131
    public static final int THROWS = 0x17;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   132
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   133
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   134
     * The sort of type references that target the type of a local variable in a
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   135
     * method. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   136
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   137
    public static final int LOCAL_VARIABLE = 0x40;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   138
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   139
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   140
     * The sort of type references that target the type of a resource variable
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   141
     * in a method. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   142
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   143
    public static final int RESOURCE_VARIABLE = 0x41;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   144
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   145
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   146
     * The sort of type references that target the type of the exception of a
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   147
     * 'catch' clause in a method. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   148
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   149
    public static final int EXCEPTION_PARAMETER = 0x42;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   150
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   151
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   152
     * The sort of type references that target the type declared in an
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   153
     * 'instanceof' instruction. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   154
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   155
    public static final int INSTANCEOF = 0x43;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   156
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   157
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   158
     * The sort of type references that target the type of the object created by
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   159
     * a 'new' instruction. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   160
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   161
    public static final int NEW = 0x44;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   162
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   163
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   164
     * The sort of type references that target the receiver type of a
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   165
     * constructor reference. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   166
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   167
    public static final int CONSTRUCTOR_REFERENCE = 0x45;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   168
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   169
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   170
     * The sort of type references that target the receiver type of a method
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   171
     * reference. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   172
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   173
    public static final int METHOD_REFERENCE = 0x46;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   174
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   175
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   176
     * The sort of type references that target the type declared in an explicit
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   177
     * or implicit cast instruction. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   178
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   179
    public static final int CAST = 0x47;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   180
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   181
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   182
     * The sort of type references that target a type parameter of a generic
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   183
     * constructor in a constructor call. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   184
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   185
    public static final int CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT = 0x48;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   186
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   187
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   188
     * The sort of type references that target a type parameter of a generic
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   189
     * method in a method call. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   190
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   191
    public static final int METHOD_INVOCATION_TYPE_ARGUMENT = 0x49;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   192
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   193
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   194
     * The sort of type references that target a type parameter of a generic
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   195
     * constructor in a constructor reference. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   196
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   197
    public static final int CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT = 0x4A;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   198
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   199
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   200
     * The sort of type references that target a type parameter of a generic
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   201
     * method in a method reference. See {@link #getSort getSort}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   202
     */
32649
2ee9017c7597 8136583: Core libraries should use blessed modifier order
martin
parents: 25859
diff changeset
   203
    public static final int METHOD_REFERENCE_TYPE_ARGUMENT = 0x4B;
17420
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   204
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   205
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   206
     * The type reference value in Java class file format.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   207
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   208
    private int value;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   209
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   210
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   211
     * Creates a new TypeReference.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   212
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   213
     * @param typeRef
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   214
     *            the int encoded value of the type reference, as received in a
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   215
     *            visit method related to type annotations, like
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   216
     *            visitTypeAnnotation.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   217
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   218
    public TypeReference(int typeRef) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   219
        this.value = typeRef;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   220
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   221
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   222
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   223
     * Returns a type reference of the given sort.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   224
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   225
     * @param sort
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   226
     *            {@link #FIELD FIELD}, {@link #METHOD_RETURN METHOD_RETURN},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   227
     *            {@link #METHOD_RECEIVER METHOD_RECEIVER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   228
     *            {@link #LOCAL_VARIABLE LOCAL_VARIABLE},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   229
     *            {@link #RESOURCE_VARIABLE RESOURCE_VARIABLE},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   230
     *            {@link #INSTANCEOF INSTANCEOF}, {@link #NEW NEW},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   231
     *            {@link #CONSTRUCTOR_REFERENCE CONSTRUCTOR_REFERENCE}, or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   232
     *            {@link #METHOD_REFERENCE METHOD_REFERENCE}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   233
     * @return a type reference of the given sort.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   234
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   235
    public static TypeReference newTypeReference(int sort) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   236
        return new TypeReference(sort << 24);
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   237
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   238
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   239
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   240
     * Returns a reference to a type parameter of a generic class or method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   241
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   242
     * @param sort
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   243
     *            {@link #CLASS_TYPE_PARAMETER CLASS_TYPE_PARAMETER} or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   244
     *            {@link #METHOD_TYPE_PARAMETER METHOD_TYPE_PARAMETER}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   245
     * @param paramIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   246
     *            the type parameter index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   247
     * @return a reference to the given generic class or method type parameter.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   248
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   249
    public static TypeReference newTypeParameterReference(int sort,
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   250
            int paramIndex) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   251
        return new TypeReference((sort << 24) | (paramIndex << 16));
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   252
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   253
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   254
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   255
     * Returns a reference to a type parameter bound of a generic class or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   256
     * method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   257
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   258
     * @param sort
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   259
     *            {@link #CLASS_TYPE_PARAMETER CLASS_TYPE_PARAMETER} or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   260
     *            {@link #METHOD_TYPE_PARAMETER METHOD_TYPE_PARAMETER}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   261
     * @param paramIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   262
     *            the type parameter index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   263
     * @param boundIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   264
     *            the type bound index within the above type parameters.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   265
     * @return a reference to the given generic class or method type parameter
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   266
     *         bound.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   267
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   268
    public static TypeReference newTypeParameterBoundReference(int sort,
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   269
            int paramIndex, int boundIndex) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   270
        return new TypeReference((sort << 24) | (paramIndex << 16)
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   271
                | (boundIndex << 8));
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   272
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   273
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   274
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   275
     * Returns a reference to the super class or to an interface of the
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   276
     * 'implements' clause of a class.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   277
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   278
     * @param itfIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   279
     *            the index of an interface in the 'implements' clause of a
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   280
     *            class, or -1 to reference the super class of the class.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   281
     * @return a reference to the given super type of a class.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   282
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   283
    public static TypeReference newSuperTypeReference(int itfIndex) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   284
        itfIndex &= 0xFFFF;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   285
        return new TypeReference((CLASS_EXTENDS << 24) | (itfIndex << 8));
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   286
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   287
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   288
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   289
     * Returns a reference to the type of a formal parameter of a method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   290
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   291
     * @param paramIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   292
     *            the formal parameter index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   293
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   294
     * @return a reference to the type of the given method formal parameter.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   295
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   296
    public static TypeReference newFormalParameterReference(int paramIndex) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   297
        return new TypeReference((METHOD_FORMAL_PARAMETER << 24)
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   298
                | (paramIndex << 16));
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   299
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   300
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   301
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   302
     * Returns a reference to the type of an exception, in a 'throws' clause of
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   303
     * a method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   304
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   305
     * @param exceptionIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   306
     *            the index of an exception in a 'throws' clause of a method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   307
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   308
     * @return a reference to the type of the given exception.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   309
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   310
    public static TypeReference newExceptionReference(int exceptionIndex) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   311
        return new TypeReference((THROWS << 24) | (exceptionIndex << 8));
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   312
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   313
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   314
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   315
     * Returns a reference to the type of the exception declared in a 'catch'
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   316
     * clause of a method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   317
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   318
     * @param tryCatchBlockIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   319
     *            the index of a try catch block (using the order in which they
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   320
     *            are visited with visitTryCatchBlock).
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   321
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   322
     * @return a reference to the type of the given exception.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   323
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   324
    public static TypeReference newTryCatchReference(int tryCatchBlockIndex) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   325
        return new TypeReference((EXCEPTION_PARAMETER << 24)
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   326
                | (tryCatchBlockIndex << 8));
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   327
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   328
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   329
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   330
     * Returns a reference to the type of a type argument in a constructor or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   331
     * method call or reference.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   332
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   333
     * @param sort
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   334
     *            {@link #CAST CAST},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   335
     *            {@link #CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   336
     *            CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   337
     *            {@link #METHOD_INVOCATION_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   338
     *            METHOD_INVOCATION_TYPE_ARGUMENT},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   339
     *            {@link #CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   340
     *            CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT}, or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   341
     *            {@link #METHOD_REFERENCE_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   342
     *            METHOD_REFERENCE_TYPE_ARGUMENT}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   343
     * @param argIndex
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   344
     *            the type argument index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   345
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   346
     * @return a reference to the type of the given type argument.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   347
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   348
    public static TypeReference newTypeArgumentReference(int sort, int argIndex) {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   349
        return new TypeReference((sort << 24) | argIndex);
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   350
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   351
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   352
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   353
     * Returns the sort of this type reference.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   354
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   355
     * @return {@link #CLASS_TYPE_PARAMETER CLASS_TYPE_PARAMETER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   356
     *         {@link #METHOD_TYPE_PARAMETER METHOD_TYPE_PARAMETER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   357
     *         {@link #CLASS_EXTENDS CLASS_EXTENDS},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   358
     *         {@link #CLASS_TYPE_PARAMETER_BOUND CLASS_TYPE_PARAMETER_BOUND},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   359
     *         {@link #METHOD_TYPE_PARAMETER_BOUND METHOD_TYPE_PARAMETER_BOUND},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   360
     *         {@link #FIELD FIELD}, {@link #METHOD_RETURN METHOD_RETURN},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   361
     *         {@link #METHOD_RECEIVER METHOD_RECEIVER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   362
     *         {@link #METHOD_FORMAL_PARAMETER METHOD_FORMAL_PARAMETER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   363
     *         {@link #THROWS THROWS}, {@link #LOCAL_VARIABLE LOCAL_VARIABLE},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   364
     *         {@link #RESOURCE_VARIABLE RESOURCE_VARIABLE},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   365
     *         {@link #EXCEPTION_PARAMETER EXCEPTION_PARAMETER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   366
     *         {@link #INSTANCEOF INSTANCEOF}, {@link #NEW NEW},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   367
     *         {@link #CONSTRUCTOR_REFERENCE CONSTRUCTOR_REFERENCE},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   368
     *         {@link #METHOD_REFERENCE METHOD_REFERENCE}, {@link #CAST CAST},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   369
     *         {@link #CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   370
     *         CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   371
     *         {@link #METHOD_INVOCATION_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   372
     *         METHOD_INVOCATION_TYPE_ARGUMENT},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   373
     *         {@link #CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   374
     *         CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT}, or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   375
     *         {@link #METHOD_REFERENCE_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   376
     *         METHOD_REFERENCE_TYPE_ARGUMENT}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   377
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   378
    public int getSort() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   379
        return value >>> 24;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   380
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   381
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   382
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   383
     * Returns the index of the type parameter referenced by this type
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   384
     * reference. This method must only be used for type references whose sort
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   385
     * is {@link #CLASS_TYPE_PARAMETER CLASS_TYPE_PARAMETER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   386
     * {@link #METHOD_TYPE_PARAMETER METHOD_TYPE_PARAMETER},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   387
     * {@link #CLASS_TYPE_PARAMETER_BOUND CLASS_TYPE_PARAMETER_BOUND} or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   388
     * {@link #METHOD_TYPE_PARAMETER_BOUND METHOD_TYPE_PARAMETER_BOUND}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   389
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   390
     * @return a type parameter index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   391
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   392
    public int getTypeParameterIndex() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   393
        return (value & 0x00FF0000) >> 16;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   394
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   395
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   396
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   397
     * Returns the index of the type parameter bound, within the type parameter
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   398
     * {@link #getTypeParameterIndex}, referenced by this type reference. This
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   399
     * method must only be used for type references whose sort is
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   400
     * {@link #CLASS_TYPE_PARAMETER_BOUND CLASS_TYPE_PARAMETER_BOUND} or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   401
     * {@link #METHOD_TYPE_PARAMETER_BOUND METHOD_TYPE_PARAMETER_BOUND}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   402
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   403
     * @return a type parameter bound index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   404
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   405
    public int getTypeParameterBoundIndex() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   406
        return (value & 0x0000FF00) >> 8;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   407
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   408
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   409
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   410
     * Returns the index of the "super type" of a class that is referenced by
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   411
     * this type reference. This method must only be used for type references
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   412
     * whose sort is {@link #CLASS_EXTENDS CLASS_EXTENDS}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   413
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   414
     * @return the index of an interface in the 'implements' clause of a class,
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   415
     *         or -1 if this type reference references the type of the super
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   416
     *         class.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   417
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   418
    public int getSuperTypeIndex() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   419
        return (short) ((value & 0x00FFFF00) >> 8);
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   420
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   421
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   422
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   423
     * Returns the index of the formal parameter whose type is referenced by
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   424
     * this type reference. This method must only be used for type references
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   425
     * whose sort is {@link #METHOD_FORMAL_PARAMETER METHOD_FORMAL_PARAMETER}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   426
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   427
     * @return a formal parameter index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   428
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   429
    public int getFormalParameterIndex() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   430
        return (value & 0x00FF0000) >> 16;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   431
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   432
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   433
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   434
     * Returns the index of the exception, in a 'throws' clause of a method,
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   435
     * whose type is referenced by this type reference. This method must only be
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   436
     * used for type references whose sort is {@link #THROWS THROWS}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   437
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   438
     * @return the index of an exception in the 'throws' clause of a method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   439
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   440
    public int getExceptionIndex() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   441
        return (value & 0x00FFFF00) >> 8;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   442
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   443
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   444
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   445
     * Returns the index of the try catch block (using the order in which they
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   446
     * are visited with visitTryCatchBlock), whose 'catch' type is referenced by
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   447
     * this type reference. This method must only be used for type references
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   448
     * whose sort is {@link #EXCEPTION_PARAMETER EXCEPTION_PARAMETER} .
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   449
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   450
     * @return the index of an exception in the 'throws' clause of a method.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   451
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   452
    public int getTryCatchBlockIndex() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   453
        return (value & 0x00FFFF00) >> 8;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   454
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   455
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   456
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   457
     * Returns the index of the type argument referenced by this type reference.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   458
     * This method must only be used for type references whose sort is
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   459
     * {@link #CAST CAST}, {@link #CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   460
     * CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   461
     * {@link #METHOD_INVOCATION_TYPE_ARGUMENT METHOD_INVOCATION_TYPE_ARGUMENT},
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   462
     * {@link #CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   463
     * CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT}, or
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   464
     * {@link #METHOD_REFERENCE_TYPE_ARGUMENT METHOD_REFERENCE_TYPE_ARGUMENT}.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   465
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   466
     * @return a type parameter index.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   467
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   468
    public int getTypeArgumentIndex() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   469
        return value & 0xFF;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   470
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   471
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   472
    /**
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   473
     * Returns the int encoded value of this type reference, suitable for use in
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   474
     * visit methods related to type annotations, like visitTypeAnnotation.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   475
     *
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   476
     * @return the int encoded value of this type reference.
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   477
     */
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   478
    public int getValue() {
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   479
        return value;
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   480
    }
6163a8236046 8013225: Refresh jdk's private ASM to the latest.
ksrini
parents:
diff changeset
   481
}