Home
last modified time | relevance | path

Searched refs:varargsArray (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/lang/invoke/
DVarargsArrayTest.java86 MethodHandle target = varargsArray(Object[].class, nargs); in testVarargsArray()
132 private static MethodHandle varargsArray(Class<?> arrayType, int nargs) { in varargsArray() method in VarargsArrayTest
147 MethodHandle varargsArray = varargsArray(arrayType, nargs); in testTypedVarargsArray() local
148 MethodType vaType = varargsArray.type(); in testTypedVarargsArray()
156 Object res = varargsArray.invokeWithArguments(args); in testTypedVarargsArray()
161 MethodHandle spreader = varargsArray.asSpreader(arrayType, nargs); in testTypedVarargsArray()
DMethodHandlesAsCollectorTest.java78 MethodHandle fake = varargsArray(nargs); in testAsCollector()
86 MethodHandle target = varargsArray(pos+1); in testAsCollector()
124 MethodHandle fake = varargsArray(nargs); in testAsCollector()
136 MethodHandle target = varargsArray(collectedLength); in testAsCollector()
DMethodHandlesTest.java334 static MethodHandle varargsArray(int arity) { in varargsArray() method in MethodHandlesTest
335 return ValueConversions.varargsArray(arity); in varargsArray()
338 static MethodHandle varargsArray(Class<?> arrayType, int arity) { in varargsArray() method in MethodHandlesTest
339 return ValueConversions.varargsArray(arrayType, arity); in varargsArray()
835 public static MethodHandle varargsArray(int nargs) { in varargsArray() method in MethodHandlesTest.ValueConversions
841 public static MethodHandle varargsArray(Class<?> arrayType, int nargs) { in varargsArray() method in MethodHandlesTest.ValueConversions
844 MethodHandle mh = varargsArray(nargs); in varargsArray()
DMethodHandlesGeneralTest.java1331 MethodHandle target = varargsArray(nargs); in testDropArguments()
1514varargsArray(nargs).asType(methodType(Object[].class, lArgTypes)), nargs, lArgTypes); in testGenericLoopCombinator()