public int dimensions() {
		for (int i = 0; i < desc.length(); i++) {
			if (desc.charAt(i) != Type.ARRAY_CHAR) {
				return i;
			}
		}

		throw new IllegalArgumentException(desc
				+ " does not have an element type.");
	}