1 21 22 package org.apache.derby.iapi.services.classfile; 23 24 public interface VMDescriptor { 25 char C_VOID = 'V'; 26 String VOID = "V"; 27 char C_BOOLEAN = 'Z'; 28 String BOOLEAN = "Z"; 29 char C_BYTE = 'B'; 30 String BYTE = "B"; 31 char C_CHAR = 'C'; 32 String CHAR = "C"; 33 char C_SHORT = 'S'; 34 String SHORT = "S"; 35 char C_INT = 'I'; 36 String INT = "I"; 37 char C_LONG = 'J'; 38 String LONG = "J"; 39 char C_FLOAT = 'F'; 40 String FLOAT = "F"; 41 char C_DOUBLE = 'D'; 42 String DOUBLE = "D"; 43 char C_ARRAY = '['; 44 String ARRAY = "["; 45 char C_CLASS = 'L'; 46 String CLASS = "L"; 47 char C_METHOD = '('; 48 String METHOD = "("; 49 char C_ENDCLASS = ';'; 50 String ENDCLASS = ";"; 51 char C_ENDMETHOD = ')'; 52 String ENDMETHOD = ")"; 53 char C_PACKAGE = '/'; 54 String PACKAGE = "/"; 55 56 59 60 int CONSTANT_Class = 7; 61 int CONSTANT_Fieldref = 9; 62 int CONSTANT_Methodref = 10; 63 int CONSTANT_InterfaceMethodref = 11; 64 int CONSTANT_String = 8; 65 int CONSTANT_Integer = 3; 66 int CONSTANT_Float = 4; 67 int CONSTANT_Long = 5; 68 int CONSTANT_Double = 6; 69 int CONSTANT_NameAndType = 12; 70 int CONSTANT_Utf8 = 1; 71 72 73 74 int JAVA_CLASS_FORMAT_MAGIC = 0xCAFEBABE; 75 76 77 int JAVA_CLASS_FORMAT_MAJOR_VERSION = 45; 78 int JAVA_CLASS_FORMAT_MINOR_VERSION = 3; 79 } 80 | Popular Tags |