public void addGetters(int assignedPropertyNumber,String propertyName){
  for (  EventType type : knownTypes) {
    EventPropertyGetter getter=type.getGetter(propertyName);
    VariantPropertyGetterRow row=allGetters.get(type);
    if (row == null) {
synchronized (this) {
        row=new VariantPropertyGetterRow(type,new EventPropertyGetter[assignedPropertyNumber + 1]);
        allGetters.put(type,row);
      }
    }
    row.addGetter(assignedPropertyNumber,getter);
  }
  properties.add(propertyName);
}

public void addGetters ( int assignedPropertyNumber , String propertyName ) { for ( EventType type : knownTypes ) { EventPropertyGetter getter = type . getGetter ( propertyName ) ; VariantPropertyGetterRow row = allGetters . get ( type ) ; if ( row == null ) { synchronized ( this ) { row = new VariantPropertyGetterRow ( type , new EventPropertyGetter [ assignedPropertyNumber + 1 ] ) ; allGetters . put ( type , row ) ; } } row . addGetter ( assignedPropertyNumber , getter ) ; } properties . add ( propertyName ) ; }
adds the getters for a property that is identified by a property number which indexes into array of getters per type .
