private Collection<Predicate<String>> returnOrDefaultToClassesLikeGroupName( final Collection<String> filters) { if (!hasValue(filters)) { final String groupId = this.mojo.getProject().getGroupId() + "*"; this.mojo.getLog().info("Defaulting to group id (" + groupId + ")"); return Collections.<Predicate<String>>singleton(new Glob(groupId)); } else { return FCollection.map(filters, Glob.toGlobPredicate()); } }
private Collection<Predicate<String>> determineTargetTests() { return FCollection.map(this.mojo.getTargetTests(), Glob.toGlobPredicate()); }
private Collection<Predicate<String>> globStringsToPredicates( final List<String> excludedMethods) { return FCollection.map(excludedMethods, Glob.toGlobPredicate()); }