public @Nullable NamedScope getCustomScope(@NotNull String name) {
    final List<NamedScope> predefinedScopes = getFilteredScopes();
    return findPredefinedScope(name, predefinedScopes);
  }
public @Nullable NamedScope getCustomScope(@NotNull String name)