static Object computePresets(
     final Expression[] value, final Type elementType, final int[] postsets) {
   assert !elementType.isUnknown();
   if (elementType.isInteger()) {
     return presetIntArray(value, postsets);
   } else if (elementType.isLong()) {
     return presetLongArray(value, postsets);
   } else if (elementType.isNumeric()) {
     return presetDoubleArray(value, postsets);
   } else {
     return presetObjectArray(value, postsets);
   }
 }
 /**
  * Get the element type of this array literal
  *
  * @return element type
  */
 public Type getElementType() {
   assert !elementType.isUnknown() : this + " has elementType=unknown";
   return elementType;
 }