code: @Override
      public boolean accepts(final MavenDependency dependency, final List<MavenDependency> dependenciesForResolution, final List<MavenDependency> dependencyAncestors) {
          if (dependency == null) {
              return false;
          }
  
          if (allowedScopes.contains(dependency.getScope())) {
              return true;
          }
  
          return false;
      }
docs: {@inheritDoc}
  
  @see org.jboss.shrinkwrap.resolver.api.maven.filter.MavenResolutionFilter#accepts(org.jboss.shrinkwrap.resolver.api.maven.coordinate.MavenDependency,
  java.util.List, java.util.List)