void () { String containingClassName = mySettings.getContainingClassName(); PsiClass targetClass = JavaPsiFacade.getInstance(myProject).findClass(containingClassName, GlobalSearchScope.allScope(myProject)); if (targetClass == null || targetClass instanceof SyntheticElement) { if (!containingClassName.isEmpty()) { myClassComboBox.addItem(containingClassName); } if (!containingClassName.equals(CommonClassNames.JAVA_LANG_OBJECT)) { myClassComboBox.addItem(CommonClassNames.JAVA_LANG_OBJECT); } return; } for (PsiClass aClass : PsiUtil.iterateSupers(targetClass, true)) { myClassComboBox.addItem(aClass.getQualifiedName()); } }