RefactoringActionHandler (@NotNull DataContext context) { final PsiElement element = CommonDataKeys.PSI_ELEMENT.getData(context); if (element == null) { return null; } final IntroduceParameterObjectDelegate<PsiNamedElement, ParameterInfo, IntroduceParameterObjectClassDescriptor<PsiNamedElement, ParameterInfo>> delegate = IntroduceParameterObjectDelegate.findDelegate(element); return delegate != null ? delegate.getHandler(element) : null; }