code: public static String boxArgument (Class<?> clazz, String name)
      {
          if (clazz == Boolean.TYPE) {
              return "Boolean.valueOf(" + name + ")";
          } else if (clazz == Byte.TYPE) {
              return "Byte.valueOf(" + name + ")";
          } else if (clazz == Character.TYPE) {
              return "Character.valueOf(" + name + ")";
          } else if (clazz == Short.TYPE) {
              return "Short.valueOf(" + name + ")";
          } else if (clazz == Integer.TYPE) {
              return "Integer.valueOf(" + name + ")";
          } else if (clazz == Long.TYPE) {
              return "Long.valueOf(" + name + ")";
          } else if (clazz == Float.TYPE) {
              return "Float.valueOf(" + name + ")";
          } else if (clazz == Double.TYPE) {
              return "Double.valueOf(" + name + ")";
          } else {
              return name;
          }
      }
docs: "Boxes" the supplied argument, ie. turning an <code>int</code> into an <code>Integer</code>
  object.