87 private static CIntField accessFlags;
88 private static CIntField vtableIndex;
89
90 private static AddressField code;
91 /*
92 private static AddressCField fromCompiledCodeEntryPoint;
93 private static AddressField interpreterEntry;
94 */
95
96
97 // constant method names - <init>, <clinit>
98 // Initialized lazily to avoid initialization ordering dependencies between ArrayKlass and String
99 private static String objectInitializerName;
100 private static String classInitializerName;
101 private static String objectInitializerName() {
102 if (objectInitializerName == null) {
103 objectInitializerName = "<init>";
104 }
105 return objectInitializerName;
106 }
107 private static String classInitializerName() {
108 if (classInitializerName == null) {
109 classInitializerName = "<clinit>";
110 }
111 return classInitializerName;
112 }
113
114
115 // Accessors for declared fields
116 public ConstMethod getConstMethod() {
117 Address addr = constMethod.getValue(getAddress());
118 return VMObjectFactory.newObject(ConstMethod.class, addr);
119 }
120 public ConstantPool getConstants() {
121 return getConstMethod().getConstants();
122 }
123 public boolean hasStackMapTable() {
124 return getConstMethod().hasStackMapTable();
125 }
126 public U1Array getStackMapData() {
|
87 private static CIntField accessFlags;
88 private static CIntField vtableIndex;
89
90 private static AddressField code;
91 /*
92 private static AddressCField fromCompiledCodeEntryPoint;
93 private static AddressField interpreterEntry;
94 */
95
96
97 // constant method names - <init>, <clinit>
98 // Initialized lazily to avoid initialization ordering dependencies between ArrayKlass and String
99 private static String objectInitializerName;
100 private static String classInitializerName;
101 private static String objectInitializerName() {
102 if (objectInitializerName == null) {
103 objectInitializerName = "<init>";
104 }
105 return objectInitializerName;
106 }
107
108 private static String classInitializerName() {
109 if (classInitializerName == null) {
110 classInitializerName = "<clinit>";
111 }
112 return classInitializerName;
113 }
114
115
116 // Accessors for declared fields
117 public ConstMethod getConstMethod() {
118 Address addr = constMethod.getValue(getAddress());
119 return VMObjectFactory.newObject(ConstMethod.class, addr);
120 }
121 public ConstantPool getConstants() {
122 return getConstMethod().getConstants();
123 }
124 public boolean hasStackMapTable() {
125 return getConstMethod().hasStackMapTable();
126 }
127 public U1Array getStackMapData() {
|