void (NamedScope @NotNull [] scopes) { if (ArrayUtil.contains(null, scopes)) { throw new IllegalArgumentException("Must not pass null scopes, got: " + Arrays.toString(scopes)); } myScopes = scopes.clone(); fireScopeListeners(); }