Use the code from PsiClassImpl / ClsClassImpl, which for some reason is absent in AbstractLightClass #KT-5591 Fixed