RefactoringActionHandler (@NotNull PsiElement element) { PsiFile file = element.getContainingFile(); if (file == null) return null; return LanguageExtractInclude.INSTANCE.forLanguage(file.getViewProvider().getBaseLanguage()); }