String (Object... infos) { final PsiClass containingClass = (PsiClass)infos[0]; return containingClass.isInterface() ? InspectionGadgetsBundle.message("extends.annotation.interface.problem.descriptor", containingClass.getName()) : InspectionGadgetsBundle.message("extends.annotation.problem.descriptor", containingClass.getName()); }