01: /*
02: * @(#)Constants.java 1.2 04/12/06
03: *
04: * Copyright (c) 1997-2003 Sun Microsystems, Inc. All Rights Reserved.
05: *
06: * See the file "LICENSE.txt" for information on usage and redistribution of
07: * this file, and for a DISCLAIMER OF ALL WARRANTIES.
08: */
09: package pnuts.compiler;
10:
11: public interface Constants {
12: public static final byte CONSTANT_Class = 7;
13:
14: public static final byte CONSTANT_Fieldref = 9;
15:
16: public static final byte CONSTANT_Methodref = 10;
17:
18: public static final byte CONSTANT_InterfaceMethodref = 11;
19:
20: public static final byte CONSTANT_String = 8;
21:
22: public static final byte CONSTANT_Integer = 3;
23:
24: public static final byte CONSTANT_Float = 4;
25:
26: public static final byte CONSTANT_Long = 5;
27:
28: public static final byte CONSTANT_Double = 6;
29:
30: public static final byte CONSTANT_NameAndType = 12;
31:
32: public static final byte CONSTANT_Utf8 = 1;
33:
34: public static final short ACC_PUBLIC = 0x0001;
35:
36: public static final short ACC_PRIVATE = 0x0002;
37:
38: public static final short ACC_PROTECTED = 0x0004;
39:
40: public static final short ACC_STATIC = 0x0008;
41:
42: public static final short ACC_FINAL = 0x0010;
43:
44: public static final short ACC_VOLATILE = 0x0040;
45:
46: public static final short ACC_TRANSIENT = 0x0080;
47:
48: public static final short ACC_SYNCHRONIZED = 0x0020;
49:
50: public static final short ACC_NATIVE = 0x0100;
51:
52: public static final short ACC_INTERFACE = 0x0200;
53:
54: public static final short ACC_ABSTRACT = 0x0400;
55: }
|