public String source_locations_xref(Method m){
  String out="";
  List<SourceLocationTag> locs=m.getLines();
  for (  SourceLocationTag loc : locs) {
    String cname=loc.getClz();
    int line=loc.getLine();
    out+=String.format("<a href=%s#%d class=code target=%s> %s:%d</a><br>",app_source_path(cname),line,TARGET,cname,line);
  }
  return out;
}

public String source_locations_xref ( Method m ) { String out = "" ; List < SourceLocationTag > locs = m . getLines ( ) ; for ( SourceLocationTag loc : locs ) { String cname = loc . getClz ( ) ; int line = loc . getLine ( ) ; out += String . format ( "<a href=%s#%d class=code target=%s> %s:%d</a><br>" , app_source_path ( cname ) , line , TARGET , cname , line ) ; } return out ; }
returns cross references for each line where m is called in the application . each cross reference is on a separate line
