Wire the visitor into SourceCodeProcessor

We need a way to configure which visitors are run on nodes
obtained from ParserTstUtil
This commit is contained in:
Clément Fournier
2018-02-10 12:43:10 +01:00
parent ba3611f241
commit 06e38128c4
9 changed files with 95 additions and 46 deletions

View File

@ -10,6 +10,9 @@ public class ErrorProneRulesTest extends SimpleAggregatorTst {
private static final String RULESET = "category/apex/errorprone.xml";
@Override
public void setUp() {
addRule(RULESET, "AvoidDirectAccessTriggerMap");