f78ea75431
Unfortunately, IJ API requires us to return instances of PsiClass/PsiMethod in order to proceed with run configuration creation. In fact, those instances will be queried only by trivial requests, like containingFile or name. Therefore, full-blown LightClasses are not needed and even harmful, because for some declarations we can not build proper light classes (like for expect declarations, for example) Previously it mostly worked because most of declarations in common indeed have corresponding Light-instances (because common source-set can be seen from Java through JVM-part of a project). ^KT-34503 Fixed