code: public void register(Region region, String prefix) {
          // validate the method arguments
          if (region == null || prefix == null) {
              throw new IllegalArgumentException("Neither Region nor Prefix may be null");
          }
  
          // Add a LazyStyle for this region/prefix to styleMap.
          List<LazyStyle> styles = styleMap.get(region);
  
          if (styles == null) {
              styles = new LinkedList<LazyStyle>();
              styles.add(new LazyStyle(prefix));
              styleMap.put(region, styles);
          } else {
  
              // iterate over all the current styles and see if this prefix has
              // already been registered. If not, then register it.
              for (LazyStyle s : styles) {
  
                  if (prefix.equals(s.prefix)) {
                      return;
                  }
              }
  
              styles.add(new LazyStyle(prefix));
          }
  
          // add this region to the map of registered regions
          registeredRegions.put(region.getName(), region);
      }
docs: Registers the given region and prefix. The prefix, if it contains quoted
  sections, refers to certain named components. If there are not quoted
  sections, then the prefix refers to a generic component type.
  
  <p>If the given region/prefix combo has already been registered, then it
  will not be registered twice. The second registration attempt will fail
  silently.</p>
  
  @param region The Synth Region that is being registered. Such as Button,
  or ScrollBarThumb.
  @param prefix The UIDefault prefix. For example, could be ComboBox, or if
  a named components, "MyComboBox", or even something like
  ToolBar:"MyComboBox":"ComboBox.arrowButton"