1550 currentResolutionContext = new MethodResolutionContext(); |
1550 currentResolutionContext = new MethodResolutionContext(); |
1551 currentResolutionContext.step = prevResolutionContext.step; |
1551 currentResolutionContext.step = prevResolutionContext.step; |
1552 currentResolutionContext.methodCheck = |
1552 currentResolutionContext.methodCheck = |
1553 prevResolutionContext.methodCheck.mostSpecificCheck(actuals, !allowBoxing); |
1553 prevResolutionContext.methodCheck.mostSpecificCheck(actuals, !allowBoxing); |
1554 Type mst = instantiate(env, site, m2, null, |
1554 Type mst = instantiate(env, site, m2, null, |
1555 adjustArgs(types.lowerBounds(types.memberType(site, m1).getParameterTypes()), m1, maxLength, useVarargs), null, |
1555 adjustArgs(types.cvarLowerBounds(types.memberType(site, m1).getParameterTypes()), m1, maxLength, useVarargs), null, |
1556 allowBoxing, useVarargs, noteWarner); |
1556 allowBoxing, useVarargs, noteWarner); |
1557 return mst != null && |
1557 return mst != null && |
1558 !noteWarner.hasLint(Lint.LintCategory.UNCHECKED); |
1558 !noteWarner.hasLint(Lint.LintCategory.UNCHECKED); |
1559 } finally { |
1559 } finally { |
1560 currentResolutionContext = prevResolutionContext; |
1560 currentResolutionContext = prevResolutionContext; |