}
}
@Test
public void test() {
ClassNode cls = getClassNode(TestCls.class);
String code = cls.getCode().toString();
assertThat(code, containsOne("public void test(Throwable th, Exception e) {"));
assertThat(code, containsOne("method(e, 10);"));
assertThat(code, containsOne("method(th, 100);"));
assertThat(code, containsOne("method((Throwable) e, 1000);"));