boolean (@NotNull Project project, @NotNull Editor editor, @NotNull PsiElement node) { final PsiAnnotation annotation = (PsiAnnotation)findMatchingElement(node); if (annotation == null) return false; final String annotationText = annotation.getText(); final PsiElement grandParent = annotation.getParent().getParent(); if (grandParent instanceof PsiMethod) { m_text = IntentionPowerPackBundle.message("annotate.overridden.methods.intention.method.name", annotationText); } else { m_text = IntentionPowerPackBundle.message("annotate.overridden.methods.intention.parameters.name", annotationText); } return true; }