@Test void test() { ClassComplexityCheck check = new ClassComplexityCheck(); check.setMax(1); JavaCheckVerifier.newVerifier() .onFile("src/test/files/checks/ClassComplexityNoncompliant.java") .withCheck(check) .verifyIssues(); }
public void setMax(int max) { this.max = max; }
ClassComplexityCheck extends IssuableSubscriptionVisitor { public void setMax(int max) { this.max = max; } }
ClassComplexityCheck extends IssuableSubscriptionVisitor { public void setMax(int max) { this.max = max; }  }
ClassComplexityCheck extends IssuableSubscriptionVisitor { public void setMax(int max) { this.max = max; }  @Override List<Tree.Kind> nodesToVisit(); @Override void visitNode(Tree tree); void setMax(int max); }
ClassComplexityCheck extends IssuableSubscriptionVisitor { public void setMax(int max) { this.max = max; }  @Override List<Tree.Kind> nodesToVisit(); @Override void visitNode(Tree tree); void setMax(int max);  }