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

Method captureWithActualNoRecv

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

Source from the content-addressed store, hash-verified

71 }
72
73 static void captureWithActualNoRecv() {
74 B b = new B();
75 A a = new A();
76 Consumer<Object> c = o -> a.twoArgs(b, o);
77 c.accept(new Object());
78 }
79
80 static class A {
81

Callers 1

mainMethod · 0.95

Calls 2

twoArgsMethod · 0.95
acceptMethod · 0.65

Tested by

no test coverage detected