boolean (final PsiElement @NotNull [] elements) { if (elements.length == 1) { final IntroduceParameterObjectDelegate delegate = IntroduceParameterObjectDelegate.findDelegate(elements[0]); if (delegate != null && delegate.isEnabledOn(elements[0])) { return true; } } return false; }