class UnvalidatedRedirectDetector extends LegacyInjectionDetector {

    public UnvalidatedRedirectDetector(BugReporter bugReporter) {
        super(bugReporter);
    }

    @Override
    public InjectionSource[] getInjectionSource() {
        return new InjectionSource[]{new RedirectionSource()};
    }

    @Override
    protected int getPriority(Taint taint) {<FILL_FUNCTION_BODY>}

}

        if (taint.hasTag(Taint.Tag.REDIRECT_SAFE)) {
            return Priorities.IGNORE_PRIORITY;
        } else {
            return super.getPriority(taint);
        }
    
<methods>public abstract com.h3xstream.findsecbugs.injection.InjectionSource[] getInjectionSource() <variables>