@Nonnull
	public static Type array(@Nonnull Type type, int dimensions) {
		return Type.getType("[".repeat(dimensions) + type.getDescriptor());
	}
@param type
		Base type.
@param dimensions
		Array dimensions.

@return Array type of dimension size.
recaf-core/src/main/java/software/coley/recaf/util/Types.java