protected static MethodHandle makeFallBack ( MutableCallSite mc , Class < ? > sender , String name , int callID , MethodType type , boolean safeNavigation , boolean thisCall , boolean spreadCall ) { MethodHandle mh = MethodHandles . insertArguments ( SELECT_METHOD , 0 , mc , sender , name , callID , safeNavigation , thisCall , spreadCall , /*dummy receiver:*/ 1 ) ; mh = mh . asCollector ( Object [ ] . class , type . parameterCount ( ) ) . asType ( type ) ; return mh ; }
Makes a fallback method for an invalidated method selection