public @Nullable NamedScope getScope(@Nullable @NonNls String scopeId) {
    if (scopeId == null) return null;
    for (NamedScope scope : myScopes) {
      if (scopeId.equals(scope.getScopeId())) return scope;
    }
    return getPredefinedScope(scopeId);
  }
public @Nullable NamedScope getScope(@Nullable @NonNls String scopeId)