Searched refs:leadingArgCount (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DInvokers.java157 /*non-public*/ MethodHandle spreadInvoker(int leadingArgCount) { argument
158 MethodHandle vaInvoker = spreadInvokers[leadingArgCount];
160 int spreadArgCount = targetType.parameterCount() - leadingArgCount;
162 .replaceParameterTypes(leadingArgCount, targetType.parameterCount(), Object[].class);
185 spreadInvokers[leadingArgCount] = vaInvoker;
H A DMethodHandles.java1372 * <li>zero or more leading values (counted by {@code leadingArgCount})
1383 * will have all parameters except the first {@code leadingArgCount}
1393 int spreadArgCount = type.parameterCount() - leadingArgCount;
1400 * @param leadingArgCount number of fixed arguments, to be passed unchanged to the target
1403 * @throws IllegalArgumentException if {@code leadingArgCount} is not in
1407 MethodHandle spreadInvoker(MethodType type, int leadingArgCount) { argument
1408 if (leadingArgCount < 0 || leadingArgCount > type.parameterCount())
1409 throw new IllegalArgumentException("bad argument count "+leadingArgCount);
1410 return type.invokers().spreadInvoker(leadingArgCount);
[all...]

Completed in 2691 milliseconds