Lines Matching defs:callSiteType

153         final MethodType callSiteType = callSiteDescriptor.getMethodType();
155 final ApplicableOverloadedMethods subtypingApplicables = getApplicables(callSiteType,
158 final ApplicableOverloadedMethods methodInvocationApplicables = getApplicables(callSiteType,
161 final ApplicableOverloadedMethods variableArityApplicables = getApplicables(callSiteType,
186 if(!isApplicableDynamically(linkerServices, callSiteType, m)) {
196 + callSiteType);
222 return new OverloadedMethod(methodHandles, this, getCallSiteClassLoader(callSiteDescriptor), callSiteType, linkerServices, callSiteDescriptor).getInvoker();
285 private static boolean isApplicableDynamically(final LinkerServices linkerServices, final MethodType callSiteType,
290 final int callSiteArgLen = callSiteType.parameterCount();
303 if(!isApplicableDynamically(linkerServices, callSiteType.parameterType(i), methodType.parameterType(i))) {
317 final Class<?> callSiteArgType = callSiteType.parameterType(fixedArgLen);
324 if(!isApplicableDynamically(linkerServices, callSiteType.parameterType(i), varArgType)) {
332 private static boolean isApplicableDynamically(final LinkerServices linkerServices, final Class<?> callSiteType,
334 return isPotentiallyConvertible(callSiteType, methodType)
335 || linkerServices.canConvert(callSiteType, methodType);
338 private ApplicableOverloadedMethods getApplicables(final MethodType callSiteType, final ApplicabilityTest test) {
339 return new ApplicableOverloadedMethods(methods, callSiteType, test);
361 * @param callSiteType the parameter type at the call site
363 * @return true if callSiteType is potentially convertible to the methodType.
365 private static boolean isPotentiallyConvertible(final Class<?> callSiteType, final Class<?> methodType) {
367 if(InternalTypeUtilities.areAssignable(callSiteType, methodType)) {
370 if(callSiteType.isPrimitive()) {
382 return isAssignableFromBoxedPrimitive(callSiteType);