PsiClass (@NotNull PsiClassType classType) { PsiClass aClass = classType.resolve(); PsiType type = aClass == null ? null : aClass.getUserData(LightMethodObjectExtractedData.REFERENCED_TYPE); if (type != null) { return PsiTypesUtil.getPsiClass(type); } return aClass; }