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

Method bootstrap2

src/test/resources/pta/invokedynamic/A.java:37–41  ·  view source on GitHub ↗
(MethodHandles.Lookup caller, String name, MethodType type)

Source from the content-addressed store, hash-verified

35 }
36
37 public static CallSite bootstrap2(MethodHandles.Lookup caller, String name, MethodType type)
38 throws NoSuchMethodException, IllegalAccessException {
39 MethodHandle handle = MethodHandles.lookup().findStatic(A.class, name, type);
40 return new ConstantCallSite(handle);
41 }
42
43 public static CallSite bootstrap3(MethodHandles.Lookup caller, String name, MethodType type)
44 throws NoSuchMethodException, IllegalAccessException {

Callers

nothing calls this directly

Calls 1

findStaticMethod · 0.80

Tested by

no test coverage detected