@Override
    public void report() {
        // collect sinks and report each once
        Set<InjectionSink> injectionSinksToReport = new HashSet<InjectionSink>();
        for (Set<InjectionSink> injectionSinkSet : injectionSinks.values()) {
            for (InjectionSink injectionSink : injectionSinkSet) {
                injectionSinksToReport.add(injectionSink);
            }
        }
        for (InjectionSink injectionSink : injectionSinksToReport) {
            bugReporter.reportBug(injectionSink.generateBugInstance(false));
        }
    }
@ Override public void report ( ) { Set < InjectionSink > injectionSinksToReport = new HashSet < InjectionSink > ( ) ; for ( Set < InjectionSink > injectionSinkSet : injectionSinks . values ( ) ) { for ( InjectionSink injectionSink : injectionSinkSet ) { injectionSinksToReport . add ( injectionSink ) ; } } for ( InjectionSink injectionSink : injectionSinksToReport ) { bugReporter . reportBug ( injectionSink . generateBugInstance ( false ) ) ; } }
Once the analysis is completed, all the collected sinks are reported as bugs.