public void finish(boolean restoreBuiltinClasses){
  DocCommentGenerator g=new TopLevelGenerator();
  g.generate(tab);
  xml=g.toString();
  g=null;
  if (restoreBuiltinClasses && xml != null) {
    xml=xml.replaceAll("_ASDoc2","");
    xml=xml.replaceAll("_ASDoc","");
    xml=xml.replaceAll("Infinity_Neg_Inf","-Infinity");
  }
}

public void finish ( boolean restoreBuiltinClasses ) { DocCommentGenerator g = new TopLevelGenerator ( ) ; g . generate ( tab ) ; xml = g . toString ( ) ; g = null ; if ( restoreBuiltinClasses && xml != null ) { xml = xml . replaceAll ( "_ASDoc2" , "" ) ; xml = xml . replaceAll ( "_ASDoc" , "" ) ; xml = xml . replaceAll ( "Infinity_Neg_Inf" , "-Infinity" ) ; } }
this method calls the toplevelgenerator class which converts the doc comments into toplevel . xml
