private boolean collectTaint(ASTNode node,String nodeString,Map<String,Set<CallLocationModel>> dataMap){
  Set<CallLocationModel> sources=dataMap.get(nodeString);
  if (sources != null && !sources.isEmpty()) {
    int offset=node.getStartPosition();
    int length=node.getLength();
    Position pos=new Position(offset,length);
    fTaintSourcesMap.put(pos,sources);
    return true;
  }
  return false;
}

private boolean collectTaint ( ASTNode node , String nodeString , Map < String , Set < CallLocationModel > > dataMap ) { Set < CallLocationModel > sources = dataMap . get ( nodeString ) ; if ( sources != null && ! sources . isEmpty ( ) ) { int offset = node . getStartPosition ( ) ; int length = node . getLength ( ) ; Position pos = new Position ( offset , length ) ; fTaintSourcesMap . put ( pos , sources ) ; return true ; } return false ; }
if the given ast node is tainted ( the given datamap contains the given key nodestring ) , updates ftaintsourcesmap and returns true .
