private static CallSite realBootstrap ( Lookup caller , String name , int callID , MethodType type , boolean safe , boolean thisCall , boolean spreadCall ) { // since indy does not give us the runtime types // we produce first a dummy call site, which then changes the target to one, // that does the method selection including the the direct call to the // real method. MutableCallSite mc = new MutableCallSite ( type ) ; MethodHandle mh = makeFallBack ( mc , caller . lookupClass ( ) , name , callID , type , safe , thisCall , spreadCall ) ; mc . setTarget ( mh ) ; return mc ; }
backing bootstrap method with all parameters