public SModule getModule(@NotNull SModuleReference ref) { return ref.getModuleId() != null ? REPO.getModuleById(ref.getModuleId()) : REPO.getModuleByFqName(ref.getModuleName()); }