PsiFile () { ScratchFileCreationHelper.Context context = new ScratchFileCreationHelper.Context(); context.language = XMLLanguage.INSTANCE; return ScratchFileActions.doCreateNewScratch(getProject(), context); }