List<TreeVisitor> treeVisitors = Lists.newArrayList();
boolean isAtLeastSq62 = context.getSonarQubeVersion().isGreaterThanOrEqual(V6_2);
MetricsVisitor metricsVisitor = new MetricsVisitor(
context,
noSonarFilter,
<BUG>settings.getBoolean(JavaScriptPlugin.IGNORE_HEADER_COMMENTS),
</BUG>
fileLinesContextFactory,
isAtLeastSq62);
treeVisitors.add(metricsVisitor);

List<TreeVisitor> treeVisitors = Lists.newArrayList();
boolean isAtLeastSq62 = context.getSonarQubeVersion().isGreaterThanOrEqual(V6_2);
MetricsVisitor metricsVisitor = new MetricsVisitor(
context,
noSonarFilter,
context.settings().getBoolean(JavaScriptPlugin.IGNORE_HEADER_COMMENTS),
fileLinesContextFactory,
isAtLeastSq62);
treeVisitors.add(metricsVisitor);
