if (!type.isPrimitive()) return null;
if (type.equals(void.class)) return null;
if (type.equals(long.class)) return LONG_ZERO;
if (type.equals(short.class)) return SHORT_ZERO;
if (type.equals(int.class)) return INT_ZERO;
if (type.equals(float.class)) return FLOAT_ZERO;
if (type.equals(double.class)) return DOUBLE_ZERO;
if (type.equals(char.class)) return CHAR_ZERO;
if (type.equals(byte.class)) return BYTE_ZERO;
return null;