Lines Matching refs:counter
28 private ProbeCounter counter;
32 counter = new ProbeCounter();
37 assertFalse(counter.hasMethods());
38 assertEquals(0, counter.getCount());
43 counter.visitTotalProbeCount(42);
44 assertEquals(42, counter.getCount());
49 assertNull(counter.visitMethod(0, "<clinit>", null, null, null));
50 assertFalse(counter.hasMethods());
55 counter.visitMethod(Opcodes.ACC_ABSTRACT, "foo", null, null, null);
56 assertFalse(counter.hasMethods());
61 assertNull(counter.visitMethod(0, "foo", null, null, null));
62 assertTrue(counter.hasMethods());