01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.core.util;
11:
12: /**
13: * Description of constant pool constants as described in the JVM specifications.
14: *
15: * This interface is not intended to be implemented by clients.
16: *
17: * @since 2.0
18: */
19: public interface IConstantPoolConstant {
20:
21: int CONSTANT_Class = 7;
22: int CONSTANT_Fieldref = 9;
23: int CONSTANT_Methodref = 10;
24: int CONSTANT_InterfaceMethodref = 11;
25: int CONSTANT_String = 8;
26: int CONSTANT_Integer = 3;
27: int CONSTANT_Float = 4;
28: int CONSTANT_Long = 5;
29: int CONSTANT_Double = 6;
30: int CONSTANT_NameAndType = 12;
31: int CONSTANT_Utf8 = 1;
32:
33: int CONSTANT_Methodref_SIZE = 5;
34: int CONSTANT_Class_SIZE = 3;
35: int CONSTANT_Double_SIZE = 9;
36: int CONSTANT_Fieldref_SIZE = 5;
37: int CONSTANT_Float_SIZE = 5;
38: int CONSTANT_Integer_SIZE = 5;
39: int CONSTANT_InterfaceMethodref_SIZE = 5;
40: int CONSTANT_Long_SIZE = 9;
41: int CONSTANT_String_SIZE = 3;
42: int CONSTANT_Utf8_SIZE = 3;
43: int CONSTANT_NameAndType_SIZE = 5;
44:
45: }
|