void (@NotNull Project project, Editor editor, PsiFile file, DataContext dataContext) { final IntroduceOperation operation = new IntroduceOperation(project, editor, file, null); operation.addAvailableInitPlace(InitPlace.CONSTRUCTOR); if (isTestClass(file, editor)) { operation.addAvailableInitPlace(InitPlace.SET_UP); } performAction(operation); }