< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantCP.java

Print this page




  12  *      http://www.apache.org/licenses/LICENSE-2.0
  13  *
  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 package com.sun.org.apache.bcel.internal.classfile;
  21 
  22 import java.io.DataInput;
  23 import java.io.DataOutputStream;
  24 import java.io.IOException;
  25 
  26 import com.sun.org.apache.bcel.internal.Const;
  27 
  28 /**
  29  * Abstract super class for Fieldref, Methodref, InterfaceMethodref and
  30  *                          InvokeDynamic constants.
  31  *
  32  * @version $Id$
  33  * @see     ConstantFieldref
  34  * @see     ConstantMethodref
  35  * @see     ConstantInterfaceMethodref
  36  * @see     ConstantInvokeDynamic
  37  * @LastModified: Jun 2019
  38  */
  39 public abstract class ConstantCP extends Constant {
  40 
  41     /**
  42      * References to the constants containing the class and the field signature
  43      */
  44     // Note that this field is used to store the
  45     // bootstrap_method_attr_index of a ConstantInvokeDynamic.
  46     private int class_index;
  47     // This field has the same meaning for all subclasses.
  48     private int name_and_type_index;
  49 
  50     /**
  51      * Initialize from another object.
  52      */




  12  *      http://www.apache.org/licenses/LICENSE-2.0
  13  *
  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */
  20 package com.sun.org.apache.bcel.internal.classfile;
  21 
  22 import java.io.DataInput;
  23 import java.io.DataOutputStream;
  24 import java.io.IOException;
  25 
  26 import com.sun.org.apache.bcel.internal.Const;
  27 
  28 /**
  29  * Abstract super class for Fieldref, Methodref, InterfaceMethodref and
  30  *                          InvokeDynamic constants.
  31  *

  32  * @see     ConstantFieldref
  33  * @see     ConstantMethodref
  34  * @see     ConstantInterfaceMethodref
  35  * @see     ConstantInvokeDynamic
  36  * @LastModified: Jun 2019
  37  */
  38 public abstract class ConstantCP extends Constant {
  39 
  40     /**
  41      * References to the constants containing the class and the field signature
  42      */
  43     // Note that this field is used to store the
  44     // bootstrap_method_attr_index of a ConstantInvokeDynamic.
  45     private int class_index;
  46     // This field has the same meaning for all subclasses.
  47     private int name_and_type_index;
  48 
  49     /**
  50      * Initialize from another object.
  51      */


< prev index next >