public boolean accept(Artifact artifact) { String scope = artifact.getScope(); if (scope == null) { return matcher == SegmentMatch.ANY; } return matcher.match(scope); }
public boolean accept(Edge edge, Dependency dep) { String scope = dep.getScope(); if (scope == null) { return matcher == SegmentMatch.ANY; } return matcher.match(dep.getScope()); }
public boolean accept(Edge edge) { if (edge.scope == null) { return matcher == SegmentMatch.ANY; } return matcher.match(edge.scope); }
public boolean match(String segment) { return matcher.match(segment); }