UClass (final UClass psiClass, final String qualifiedName) { final Module module = JavaExecutionUtil.findModule(psiClass); if (module == null) { return null; } return UastContextKt.toUElement(JavaPsiFacade.getInstance(psiClass.getProject()) .findClass(qualifiedName.replace('$', '.'), GlobalSearchScope.moduleScope(module)), UClass.class); }