Source:
public ScoredCandidates<T> generate(T subject, ResultDescription desc) { DefaultScoredCandidates.Builder<T> equivalents = DefaultScoredCandidates.fromSource("Barb Alias"); List<String> forceTargetUrisOne = new ArrayList<>(); forceTargetUrisOne.add("<LINK_4>"); forceTargetUrisOne.add("<LINK_6>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_15>", forceTargetUrisOne, desc ); List<String> forceTargetUrisTwo = new ArrayList<>(); forceTargetUrisTwo.add("<LINK_9>"); forceTargetUrisTwo.add("<LINK_0>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_2>", forceTargetUrisTwo, desc ); List<String> forceTargetUrisThree = new ArrayList<>(); forceTargetUrisThree.add("<LINK_8>"); forceTargetUrisThree.add("<LINK_17>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_1>", forceTargetUrisThree, desc ); List<String> forceTargetUrisFour = new ArrayList<>(); forceTargetUrisFour.add("<LINK_12>"); forceTargetUrisFour.add("<LINK_18>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_5>", forceTargetUrisFour, desc ); List<String> forceTargetUrisFive = new ArrayList<>(); forceTargetUrisFive.add("<LINK_10>"); forceTargetUrisFive.add("<LINK_3>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_16>", forceTargetUrisFive, desc ); List<String> forceTargetUrisSix = new ArrayList<>(); forceTargetUrisSix.add("<LINK_11>"); forceTargetUrisSix.add("<LINK_7>"); forceTargetUrisSix.add("<LINK_14>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_13>", forceTargetUrisSix, desc ); if (!(subject.getAliasUrls().size() == 0)) { equivalents = findByCommonAlias(subject, equivalents, desc); } return equivalents.build(); }

Target:
public ScoredCandidates<T> generate(T subject, ResultDescription desc) { DefaultScoredCandidates.Builder<T> equivalents = DefaultScoredCandidates.fromSource("Barb Alias"); List<String> forceTargetUrisOne = new ArrayList<>(); forceTargetUrisOne.add("<LINK_4>"); forceTargetUrisOne.add("<LINK_6>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_15>", forceTargetUrisOne, desc ); List<String> forceTargetUrisTwo = new ArrayList<>(); forceTargetUrisTwo.add("<LINK_9>"); forceTargetUrisTwo.add("<LINK_0>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_2>", forceTargetUrisTwo, desc ); List<String> forceTargetUrisThree = new ArrayList<>(); forceTargetUrisThree.add("<LINK_8>"); forceTargetUrisThree.add("<LINK_17>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_1>", forceTargetUrisThree, desc ); List<String> forceTargetUrisFour = new ArrayList<>(); forceTargetUrisFour.add("<LINK_12>"); forceTargetUrisFour.add("<LINK_18>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_5>", forceTargetUrisFour, desc ); List<String> forceTargetUrisFive = new ArrayList<>(); forceTargetUrisFive.add("<LINK_10>"); forceTargetUrisFive.add("<LINK_3>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_16>", forceTargetUrisFive, desc ); List<String> forceTargetUrisSix = new ArrayList<>(); forceTargetUrisSix.add("<LINK_11>"); forceTargetUrisSix.add("<LINK_7>"); forceTargetUrisSix.add("<LINK_14>"); equivalents = findForcedEquivalents( subject, equivalents, "<LINK_13>", forceTargetUrisSix, desc ); if (!(subject.getAliasUrls().isEmpty())) { equivalents = findByCommonAlias(subject, equivalents, desc); } return equivalents.build(); }