KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > core > util > IConstantPoolConstant


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.core.util;
12
13 /**
14  * Description of constant pool constants as described in the JVM specifications.
15  *
16  * This interface is not intended to be implemented by clients.
17  *
18  * @since 2.0
19  */

20 public interface IConstantPoolConstant {
21
22     int CONSTANT_Class = 7;
23     int CONSTANT_Fieldref = 9;
24     int CONSTANT_Methodref = 10;
25     int CONSTANT_InterfaceMethodref = 11;
26     int CONSTANT_String = 8;
27     int CONSTANT_Integer = 3;
28     int CONSTANT_Float = 4;
29     int CONSTANT_Long = 5;
30     int CONSTANT_Double = 6;
31     int CONSTANT_NameAndType = 12;
32     int CONSTANT_Utf8 = 1;
33     
34     int CONSTANT_Methodref_SIZE = 5;
35     int CONSTANT_Class_SIZE = 3;
36     int CONSTANT_Double_SIZE = 9;
37     int CONSTANT_Fieldref_SIZE = 5;
38     int CONSTANT_Float_SIZE = 5;
39     int CONSTANT_Integer_SIZE = 5;
40     int CONSTANT_InterfaceMethodref_SIZE = 5;
41     int CONSTANT_Long_SIZE = 9;
42     int CONSTANT_String_SIZE = 3;
43     int CONSTANT_Utf8_SIZE = 3;
44     int CONSTANT_NameAndType_SIZE = 5;
45
46 }
47
Popular Tags