$storedInstances = (instances == null) ? null : Collections.unmodifiableCollection(instances);
$storedInstances = (instances == null) ? null : new ArrayList(instances);
  public final void setInstances(final Collection instances) {    LOG.debug("Setting " + instances + " as instances");    assert getType() != null;    $storedInstances = (instances == null) ? null                         : Collections.unmodifiableCollection(instances);  }