MCPcopy Create free account
hub / github.com/LFYSec/MScan / captureNoRecv

Method captureNoRecv

src/test/resources/pta/lambda/Args.java:38–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 }
37
38 static void captureNoRecv() {
39 B b = new B();
40 Object o = new Object();
41 A a = new A();
42 Runnable r = () -> a.threeArgs(b, o, a);
43 r.run();
44 }
45
46 static void actualRecv() {
47 BiConsumer<A, B> bc = A::oneArg;

Callers 1

mainMethod · 0.95

Calls 2

threeArgsMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected