<BUG>private boolean matchesRequested(DependencyResult candidate) {String requestedCandidate = candidate.getRequested().getGroup() + ":" + candidate.getRequested().getName() + ":" + candidate.getRequested().getVersion();</BUG><CONTEXT>return matchesRequested(candidate) || matchesSelected((ResolvedDependencyResult) candidate);} else {return matchesRequested(candidate);}}<extra_id_0>return requestedCandidate.contains(stringNotation);}</CONTEXT>
ModuleComponentSelector requested = (ModuleComponentSelector)candidate.getRequested();String requestedCandidate = requested.getGroup() + ":" + requested.getName() + ":" + requested.getVersion();