public static @NotNull DfConstantType<?> primitiveConstant(@NotNull Object constant) {
    DfConstantType<?> res = primitiveConstantImpl(constant);
    if (res == null) {
      throw new IllegalArgumentException("Invalid value supplied: " + constant + "(type: " + constant.getClass() + ")");
    }
    return res;
  }
public static @NotNull DfConstantType<?> primitiveConstant(@NotNull Object constant)