public static boolean chooseMathMethod ( Selector info , MetaMethod metaMethod ) { Map < MethodType , MethodHandle > xmap = methods . get ( info . name ) ; if ( xmap == null ) return false ; MethodType type = replaceWithMoreSpecificType ( info . args , info . targetType ) ; type = widenOperators ( type ) ; MethodHandle handle = xmap . get ( type ) ; if ( handle == null ) return false ; info . handle = handle ; return true ; }
Choose a method to replace the originally chosen metaMethod to have a more efficient call path .