public void addLocation ( TaintLocation location , boolean isKnownTaintSource ) { Objects . requireNonNull ( location , "location is null" ) ; if ( isKnownTaintSource ) { taintLocations . add ( location ) ; } else { unknownLocations . add ( location ) ; } }
Adds location for a taint source or path to remember for reporting