void (@NotNull PsiElement expression, @NotNull Editor editor) { var supportProvider = LanguageRefactoringSupport.INSTANCE.forLanguage(JavaLanguage.INSTANCE); JavaIntroduceFieldHandlerBase handler = (JavaIntroduceFieldHandlerBase)supportProvider.getIntroduceFieldHandler(); assert handler != null; handler.invoke(expression.getProject(), expression, editor); }