List<Variant> vs = new Vector<Variant>();  return vs;
return PrimitizeRecurse(a.getValue(), a.getType());
   private static List<Variant> Primitize(Variant a)   {      List<Variant> vs = new Vector<Variant>();/*      // it's a list      if (List.class.isAssignableFrom(a.getType())) {         for (Object o: (List) a.getValue())            vs.addAll(Primitize(new Variant(o)));         // it's a map      } else if (Map.class.isAssignableFrom(a.getType())) {         for (Object o: ((Map) a.getValue()).keySet()) {            vs.addAll(Primitize(new Variant(o)));            vs.addAll(Primitize(new Variant(((Map)a.getValue()).get(o))));         }         // it's a struct      } else if (Struct.class.isAssignableFrom(a.getType())) {         try {            for (Object o: ((Struct) a.getValue()).getParameters())               vs.addAll(Primitize(new Variant(o)));         } catch (DBusException DBe) {            throw new DBusExecutionException(DBe.getMessage());         }         // it's already a primative in an variant, add it to the list      } else {         vs.add(a);      }*/      return vs;   }