@Test public void fooShouldNotMatchEmptyTags() { TagExpression e = new TagExpression(Collections.singletonList("@foo")); assertFalse(e.evaluate(Collections.<Tag>emptyList())); }
public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } TagExpression(List<String> tagExpressions); }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } TagExpression(List<String> tagExpressions); boolean evaluate(Collection<Tag> tags); Map<String, Integer> limits(); boolean isEmpty(); }
TagExpression { public boolean evaluate(Collection<Tag> tags) { return and.isEmpty() || and.eval(tags); } TagExpression(List<String> tagExpressions); boolean evaluate(Collection<Tag> tags); Map<String, Integer> limits(); boolean isEmpty();  }