int traverseConsistencyCheck(TextEditProcessor processor,Document document,List<List<TextEdit>> sourceEdits){
  int result=0;
  if (fChildren != null) {
    for (int i=fChildren.size() - 1; i >= 0; i--) {
      TextEdit child=(TextEdit)fChildren.get(i);
      result=Math.max(result,child.traverseConsistencyCheck(processor,document,sourceEdits));
    }
  }
  if (processor.considerEdit(this)) {
    performConsistencyCheck(processor,document);
  }
  return result;
}

int traverseConsistencyCheck ( TextEditProcessor processor , Document document , List < List < TextEdit > > sourceEdits ) { int result = 0 ; if ( fChildren != null ) { for ( int i = fChildren . size ( ) - 1 ; i >= 0 ; i -- ) { TextEdit child = ( TextEdit ) fChildren . get ( i ) ; result = Math . max ( result , child . traverseConsistencyCheck ( processor , document , sourceEdits ) ) ; } } if ( processor . considerEdit ( this ) ) { performConsistencyCheck ( processor , document ) ; } return result ; }
traverses the edit tree to perform the consistency check .
