String () { String descr; if (!(getElement() instanceof PsiMethod)) { descr = JavaRefactoringBundle.message("0.will.hide.renamed.1", RefactoringUIUtil.getDescription(getElement(), true), UsageViewUtil.getType(getElement())); } else { descr = JavaRefactoringBundle.message("0.will.override.renamed.1", RefactoringUIUtil.getDescription(getElement(), true), UsageViewUtil.getType(getElement())); } return descr; }