public void clear(){
  messages=Collections.emptyList();
  isMessagesListMutable=false;
  if (builders != null) {
    for (    SingleFieldBuilder<MType,BType,IType> entry : builders) {
      if (entry != null) {
        entry.dispose();
      }
    }
    builders=null;
  }
  onChanged();
  incrementModCounts();
}

public void clear ( ) { messages = Collections . emptyList ( ) ; isMessagesListMutable = false ; if ( builders != null ) { for ( SingleFieldBuilder < MType , BType , IType > entry : builders ) { if ( entry != null ) { entry . dispose ( ) ; } } builders = null ; } onChanged ( ) ; incrementModCounts ( ) ; }
removes all of the elements from this list . the list will be empty after this call returns .
