public static PackagesScopesProvider getInstance(Project project) {
    return CUSTOM_SCOPES_PROVIDER.findExtension(PackagesScopesProvider.class, project);
  }
public static PackagesScopesProvider getInstance(Project project)