code: public static Set<SelectorName> nameSetFrom( SelectorName name ) {
          if (name == null) return Collections.emptySet();
          return Collections.singleton(name);
      }
docs: Create a set that contains the supplied SelectName object.
  
  @param name the name to include in the set; may be null
  @return the set; never null