PsiFile (@NotNull String content) { final PsiFileFactory psiFileFactory = PsiFileFactory.getInstance(myProject); return psiFileFactory.createFileFromText("dummy." + JsonFileType.INSTANCE.getDefaultExtension(), JsonFileType.INSTANCE, content); }