String () { if (myElement instanceof PsiField) { return JavaRefactoringBundle.message("inline.field.elements.header"); } if (myElement instanceof PsiVariable) { return JavaRefactoringBundle.message("inline.vars.elements.header"); } if (myElement instanceof PsiClass) { return JavaRefactoringBundle.message("inline.class.elements.header"); } if (myElement instanceof PsiMethod) { return JavaRefactoringBundle.message("inline.method.elements.header"); } return JavaRefactoringBundle.message("inline.element.unknown.header"); }