@Override
 public Any toAny() {
   Any retVal = JacorbUtil.init().create_any();
   List<Any> structVals = new ArrayList<Any>();
   for (StructValue structProp : getStructValue()) {
     structVals.add(structProp.toAny());
   }
   AnySeqHelper.insert(retVal, structVals.toArray(new Any[structVals.size()]));
   return retVal;
 }
 @Override
 public Any toAny() {
   ORB orb = ORB.init();
   if (numbers.length == 2) {
     complexDouble value = toCFType();
     Any any = orb.create_any();
     complexDoubleHelper.insert(any, value);
     return any;
   } else {
     Any retVal = orb.create_any();
     Any[] value = new Any[numbers.length];
     for (int i = 0; i < numbers.length; i++) {
       value[i] = orb.create_any();
       value[i].insert_double(numbers[i]);
     }
     AnySeqHelper.insert(retVal, value);
     return retVal;
   }
 }