code: public Object fixNull(Class type) {
         return type.isPrimitive() ? _primitiveDefaults.get(type) : null;
     }
docs: Returns a primitive legal value as opposed to null if type is primitive.
  @param type type to get null value for.
  @return null value for specifed type.