private static @Nullable PsiClass findClassInModule(@NotNull String className, @NotNull Module module) {
    Project project = module.getProject();
    ModulesScope scope = new ModulesScope(Collections.singleton(module), project);
    return JavaPsiFacade.getInstance(project).findClass(className, scope);
  }
private static @Nullable PsiClass findClassInModule(@NotNull String className, @NotNull Module module)