MCPcopy Create free account
hub / github.com/btraceio/btrace / noargs

Method noargs

integration-tests/src/test/btrace/OnMethodTest.java:52–60  ·  view source on GitHub ↗
(@Self Object self)

Source from the content-addressed store, hash-verified

50 private static String var = "none";
51
52 @OnMethod(clazz = "resources.Main", method = "callA")
53 public static void noargs(@Self Object self) {
54 tls++;
55 ex += 1;
56 dump(var + " [this, noargs]");
57 dump("{" + get("id", self) + "}");
58 var = "A";
59 println("prop: " + property("btrace.test"));
60 }
61
62 @OnMethod(clazz = "resources.Main", method = "callB")
63 public static void args(@Self Object self, int i, String s) {

Callers

nothing calls this directly

Calls 4

dumpMethod · 0.95
getMethod · 0.45
printlnMethod · 0.45
propertyMethod · 0.45

Tested by

no test coverage detected