ContractValue (Object value, @NotNull PsiType type) { return new IndependentValue(String.valueOf(value), factory -> factory.fromDfType(DfTypes.constant(TypeConversionUtil.computeCastTo(value, type), type)) ); }