public synchronized void add(Statement s){
  Operation o=(operations.isEmpty()) ? null : operations.get(operations.size() - 1);
  if ((o == null) || !(o instanceof AddRemoveOperation)) {
    o=new AddRemoveOperation();
    operations.add(o);
  }
  AddRemoveOperation aro=(AddRemoveOperation)o;
  aro.add(new ContextAwareStatementImpl(s));
}

public synchronized void add ( Statement s ) { Operation o = ( operations . isEmpty ( ) ) ? null : operations . get ( operations . size ( ) - 1 ) ; if ( ( o == null ) || ! ( o instanceof AddRemoveOperation ) ) { o = new AddRemoveOperation ( ) ; operations . add ( o ) ; } AddRemoveOperation aro = ( AddRemoveOperation ) o ; aro . add ( new ContextAwareStatementImpl ( s ) ) ; }
add this statement to the buffer
