PsiTypeCodeFragment (@Nullable PsiClassType type, @NotNull PsiElement context, @NotNull JavaCodeFragmentFactory factory, boolean allowConjunctions) { return factory.createTypeCodeFragment(type == null ? "" : type.getCanonicalText(), context, true, (allowConjunctions && PsiUtil.isLanguageLevel8OrHigher(context)) ? JavaCodeFragmentFactory.ALLOW_INTERSECTION : 0); }