MCPcopy Create free account
hub / github.com/beanshell/beanshell / getDimensions

Method getDimensions

src/bsh/org/objectweb/asm/Type.java:424–430  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

422 */
423
424 public int getDimensions () {
425 int i = 1;
426 while (buf[off + i] == '[') {
427 ++i;
428 }
429 return i;
430 }
431
432 /**
433 * Returns the type of the elements of this array type.

Callers 1

getElementTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected