Returns the number of dimensions of this array type. This method should only be used for an array type. @return the number of dimensions of this array type.
()
| 465 | * @return the number of dimensions of this array type. |
| 466 | */ |
| 467 | public int getDimensions() { |
| 468 | int numDimensions = 1; |
| 469 | while (valueBuffer.charAt(valueBegin + numDimensions) == '[') { |
| 470 | numDimensions++; |
| 471 | } |
| 472 | return numDimensions; |
| 473 | } |
| 474 | |
| 475 | /** |
| 476 | * Returns the type of the elements of this array type. This method should only be used for an |
no outgoing calls
no test coverage detected