public Object newArray(String type, int[] dimensions)
			throws InterpreterException, NegativeArraySizeException {
		if (type.length() == dimensions.length + 1) {
			Class clazz;
			try {
				clazz = TypeSignature.getClass(type
						.substring(dimensions.length));
			} catch (ClassNotFoundException ex) {
				throw new InterpreterException("Class " + ex.getMessage()
						+ " not found");
			}
			return Array.newInstance(clazz, dimensions);
		}
		throw new InterpreterException("Creating object array.");
	}