code: public void addGuarded(Guarded newGuarded, int mask) {
          this.guardedEntries.put(newGuarded, new Integer(mask));
          newGuarded.setEnabled(stateMatchesMask(getFormModelState(), mask));
      }
docs: Adds a guarded object to be guarded by this FormGuard
  
  @param newGuarded
  object to be guarded
  @param mask
  indicating which state of the formModel should enable the guarded obhject