@Override
  public @NotNull PsiTypeCodeFragment createTypeCodeFragment(final @NotNull String text, final @Nullable PsiElement context, final boolean isPhysical, final int flags) {
    return new PsiTypeCodeFragmentImpl(myProject, isPhysical, "fragment.java", text, flags, context);
  }
@Override
  public @NotNull PsiTypeCodeFragment createTypeCodeFragment(final @NotNull String text, final @Nullable PsiElement context, final boolean isPhysical, final int flags)