PsiJavaModule (Module module, boolean inTests) { return DumbService.getInstance(module.getProject()) .computeWithAlternativeResolveEnabled(() -> JavaModuleGraphUtil.findNonAutomaticDescriptorByModule(module, inTests)); }