Object np = getMyProperties().remove(name); if (nullProperty.equals(np))
Object np = getMyProperties().get(name); if (nullProperty.equals(np)) { getMyProperties().remove(name);
  public void setPropertyVisible(Property prop, boolean newVisible) {    CompositeName name = prop.getName();    if (newVisible) {      Object np = getMyProperties().remove(name);      if (nullProperty.equals(np))        firePropertyAdded(prop);    } else {      Object np = getMyProperties().put(name, nullProperty);      if (!nullProperty.equals(np))        firePropertyRemoved(prop);    }  }