public static @NotNull DfConstantType<?> referenceConstant(@NotNull Object constant, @NotNull PsiType type) {
    return new DfReferenceConstantType(constant, TypeConstraints.instanceOf(type), false);
  }
public static @NotNull DfConstantType<?> referenceConstant(@NotNull Object constant, @NotNull PsiType type)