Пример #1
0
 // Returns the length
 jushort length() const {
   return ushort_field(length_offset());
 }
Пример #2
0
 // used by romizer
 int itable_end_offset() const {
   return ushort_field(object_size_offset());
 }
Пример #3
0
 // Returns the number of interfaces in the table
 jushort itable_length() const {
   return ushort_field(itable_length_offset());
 }
Пример #4
0
 // Index of this class in Universe::class_list()
 jushort class_id() const {
   return ushort_field(class_id_offset());
 }
Пример #5
0
 int object_size() const {
   return (int)(ushort_field(size_offset()));
 }
Пример #6
0
 jushort ushort_at(int index) const {
   return ushort_field(offset_from_ushort_index(index));
 }