BaseTreeVisitorIssueFilter extends BaseTreeVisitor implements JavaIssueFilter { public Multimap<String, Integer> excludedLinesByRule() { return excludedLinesByRule; } protected  BaseTreeVisitorIssueFilter(); String getComponentKey(); @Override void scanFile(JavaFileScannerContext context); @Override boolean accept(RuleKey ruleKey, AnalyzerMessage analyzerMessage); Multimap<String, Integer> excludedLinesByRule(); void acceptLines(@Nullable Tree tree, Iterable<Class<? extends JavaCheck>> rules); void acceptLines(@Nullable Tree tree, Class<? extends JavaCheck> rule); void excludeLines(@Nullable Tree tree, Iterable<Class<? extends JavaCheck>> rules); void excludeLines(Set<Integer> lines, String ruleKey); void excludeLines(@Nullable Tree tree, Class<? extends JavaCheck> rule);  }
@Test void excluded_lines_are_correct() { Multimap<String, Integer> excludedLinesByRule = filter.excludedLinesByRule(); assertThat(excludedLinesByRule).isNotNull(); assertThat(excludedLinesByRule.isEmpty()).isFalse(); assertThat(excludedLinesByRule.keySet()).containsOnly(RULE_KEY); assertThat(excludedLinesByRule.get(RULE_KEY)).containsOnly(3, 4, 5, 6, 7, 8, 9, 10, 11, 15); }