SortedSet<String> typesToImport(){
  SortedSet<String> typesToImport=new TreeSet<String>();
  for (  Map.Entry<String,Spelling> entry : imports.entrySet()) {
    if (entry.getValue().importIt) {
      typesToImport.add(entry.getKey());
    }
  }
  return typesToImport;
}

SortedSet < String > typesToImport ( ) { SortedSet < String > typesToImport = new TreeSet < String > ( ) ; for ( Map . Entry < String , Spelling > entry : imports . entrySet ( ) ) { if ( entry . getValue ( ) . importIt ) { typesToImport . add ( entry . getKey ( ) ) ; } } return typesToImport ; }
returns the set of types to import . we import every type that is neither in java . lang nor in the package containing the autojson class , provided that the result refers to the type unambiguously . for example , if there is a property of type java . util . map . entry then we will import java . util . map . entry and refer to the property as entry . we could also import just java . util . map in this case and refer to map . entry , but currently we never do that .
