public static boolean isPrimitive(Class<?> type) {
		return type.isPrimitive() || type == Integer.class || type == Boolean.class || type == Long.class || type == Double.class || type == Character.class
				|| type == Byte.class || type == Float.class || Number.class.isAssignableFrom(type);
	}