code: public static JcPrimitive fromType(Class<?> type, String name) {
  		// TODO what about dates and arrays
  		if (type.equals(String.class))
  			return new JcString(name);
  		else if (type.equals(Number.class))
  			return new JcNumber(name);
  		else if (type.equals(Boolean.class))
  			return new JcBoolean(name);
  		return null;
  	}
docs: Answer an appropriate instance of a JcPrimitive for the given simple-type and name.
  E.g. given a type java.lang.String, a JcString instance will be returned.
  @param type
  @param name
  @return