コード例 #1
0
 public boolean accept(Artifact artifact) {
   String scope = artifact.getScope();
   if (scope == null) {
     return matcher == SegmentMatch.ANY;
   }
   return matcher.match(scope);
 }
コード例 #2
0
 public boolean accept(Edge edge, Dependency dep) {
   String scope = dep.getScope();
   if (scope == null) {
     return matcher == SegmentMatch.ANY;
   }
   return matcher.match(dep.getScope());
 }
コード例 #3
0
 public boolean accept(Edge edge) {
   if (edge.scope == null) {
     return matcher == SegmentMatch.ANY;
   }
   return matcher.match(edge.scope);
 }
コード例 #4
0
 public boolean match(String segment) {
   return matcher.match(segment);
 }