boolean (@NotNull Project project, @NotNull PsiFile file, @NotNull PsiElement startElement, @NotNull PsiElement endElement) { final PsiParameter myParameter = (PsiParameter)startElement; return myParameter.getDeclarationScope() instanceof PsiMethod && BaseIntentionAction.canModify(myParameter); }