300 VerificationType get_component(ClassVerifier* context, TRAPS) const; |
300 VerificationType get_component(ClassVerifier* context, TRAPS) const; |
301 |
301 |
302 int dimensions() const { |
302 int dimensions() const { |
303 assert(is_array(), "Must be an array"); |
303 assert(is_array(), "Must be an array"); |
304 int index = 0; |
304 int index = 0; |
305 while (name()->byte_at(index++) == '['); |
305 while (name()->byte_at(index) == '[') index++; |
306 return index; |
306 return index; |
307 } |
307 } |
308 |
308 |
309 void print_on(outputStream* st) const; |
309 void print_on(outputStream* st) const; |
310 |
310 |