code: public void setTargets(Collection<IPermissionTarget> targets) {
  
          // clear out any existing targets
          targetMap.clear();
  
          // add each target to the internal map and index it by the target key
          for (IPermissionTarget target : targets) {
              targetMap.put(target.getKey(), target);
          }
      }
docs: Set the permission targets for this provider.
  
  @param targets collection of targets