Home
last modified time | relevance | path

Searched refs:parameterList (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/test/java/lang/invoke/
DDropArgumentsTest.java49 MethodHandle d0 = MethodHandles.dropArgumentsToMatch(cat, 0, bigType.parameterList(), 3); in testDropArgumentsToMatch()
51 MethodHandle d1 = MethodHandles.dropArgumentsToMatch(cat, 0, bigType.parameterList(), 0); in testDropArgumentsToMatch()
53 MethodHandle d2 = MethodHandles.dropArgumentsToMatch(cat, 1, bigType.parameterList(), 4); in testDropArgumentsToMatch()
63 { (MethodHandle) null, 0, cat.type().parameterList(), 0 }, in dropArgumentsToMatchNPEData()
80 {cat, -1, bigType.parameterList(), 0}, in dropArgumentsToMatchIAEData()
81 {cat, 0, bigType.parameterList(), -1}, in dropArgumentsToMatchIAEData()
82 {cat, 3, bigType.parameterList(), 0}, in dropArgumentsToMatchIAEData()
83 {cat, 0, bigType.parameterList(), 6}, in dropArgumentsToMatchIAEData()
84 {cat, 0, bigType.parameterList(), 2} in dropArgumentsToMatchIAEData()
100 …hodHandle handle2 = MethodHandles.dropArgumentsToMatch(cat, 0, bigTypewithVoid.parameterList(), 1); in dropArgumentsToMatchTestWithVoid()
[all …]
DInvokeGenericTest.java295 ArrayList<Class<?>> argTypes = new ArrayList<>(targetType.parameterList()); in changeArgTypes()
383 if (k == 1) params = methodType(Object.class, params).generic().parameterList(); in testWrongArgumentCount()
384 if (k == 2) params2 = methodType(Object.class, params2).generic().parameterList(); in testWrongArgumentCount()
472 MethodHandle mh = callable(type.parameterList()); in testReferenceConversions()
DJavaDocExamplesTest.java264 MethodHandle d0 = dropArguments(cat, 0, bigType.parameterList().subList(0,2)); in testDropArguments()
290 MethodHandle h2 = dropArguments(h1, 0, bigType.parameterList()); in testDropArgumentsToMatch()
292 h1 = dropArgumentsToMatch(h1, 0, h2.type().parameterList(), 0); // lengthen h1 in testDropArgumentsToMatch()
295 h2 = dropArgumentsToMatch(h2, 0, h1.type().parameterList(), 0); // lengthen h2 in testDropArgumentsToMatch()
876 …Handles.dropArgumentsToMatch(MethodHandles.identity(int.class), 0, loopType.parameterList(), 1); in testCountedLoop()
877 …Handles.dropArgumentsToMatch(MethodHandles.identity(String.class), 0, loopType.parameterList(), 2); in testCountedLoop()
878 …Handles.dropArgumentsToMatch(MH_step, 2, loopType.parameterList(), 0); in testCountedLoop()
DExplicitCastArgumentsTest.java528 original = Helper.addTrailingArgs(original, arity, mType.parameterList()); in testMultipleArgs()
531 Object[] parList = Helper.randomArgs(mTypeNew.parameterList()); in testMultipleArgs()
DMethodTypeTest.java347 List<Class<?>> result = instance.parameterList(); in testParameterList()
398 types.addAll(instance.parameterList()); in testHashCode()
DLoopCombinatorTest.java547 expectType = expectType.insertParameterTypes(0, countType.parameterList()); in testCountedLoopBodyParameters()
853 assertEquals(it.parameterList(), lt.parameterList()); in testIterateParameters()
854 assertEquals(in.parameterList(), lt.parameterList()); in testIterateParameters()
DMethodHandlesTest.java387 ArrayList<Class<?>> argTypes = new ArrayList<>(targetType.parameterList()); in changeArgTypes()
DMethodHandlesGeneralTest.java1999 assertTrue(mh.type().parameterList().contains(Example.class)); in testUserClassInSignature()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTypeDescriptor.java143 List<F> parameterList(); in parameterList() method
DMethodHandles.java3080 return dropArguments(zero(type.returnType()), 0, type.parameterList()); in empty()
3356 List<Class<?>> oldTypes = target.type().parameterList(); in dropArgumentsToMatch()
3737 List<Class<?>> filterArgs = filterType.parameterList(); in collectArgumentsChecks()
4080 List<Class<?>> targs = ttype.parameterList(); in guardWithTest()
4081 List<Class<?>> gargs = gtype.parameterList(); in guardWithTest()
4160 handler = dropArgumentsToMatch(handler, 1, ttype.parameterList(), 0, true); in catchException()
4566 assert finit.stream().map(MethodHandle::type).map(MethodType::parameterList). in loop()
4568 …(fstep, fpred, ffini).flatMap(List::stream).map(MethodHandle::type).map(MethodType::parameterList). in loop()
4606 map(MethodType::parameterList). in longestParameterList()
4888 List<Class<?>> innerList = bodyType.parameterList(); in whileLoopChecks()
[all …]
DMethodType.java747 public List<Class<?>> parameterList() {
/libcore/ojluni/src/main/java/java/lang/constant/
DMethodTypeDesc.java102 List<ClassDesc> parameterList(); in parameterList() method
DMethodTypeDescImpl.java93 public List<ClassDesc> parameterList() { in parameterList() method in MethodTypeDescImpl
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodType.java93 public List<Class<?>> parameterList() { return null; } in parameterList() method in MethodType
/libcore/ojluni/src/main/java/sun/invoke/util/
DBytecodeDescriptor.java104 return unparseMethod(type.returnType(), type.parameterList()); in unparse()
/libcore/ojluni/annotations/sdk/nullability/java/lang/invoke/
DMethodType.annotated.java82 public java.util.List<java.lang.Class<?>> parameterList() { throw new RuntimeException("Stub!"); } in parameterList() method in MethodType
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodTypeTest.java567 List<Class<?>> paramsList = mt.parameterList(); in testParameterListAndArray()
581 paramsList = mt.parameterList(); in testParameterListAndArray()
693 List<Class<?>> paramsList = type.parameterList(); in assertParameterTypes()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseTest.java463 assertEquals(amt.parameterList().subList(0, pts.size()), pts); in testTypes()
469 assertEquals(mt.parameterList(), pts); in testTypes()
/libcore/
Dnullability_warnings.txt37 WARNING: method java.lang.invoke.MethodType.parameterList(), return value, MISSING
/libcore/api/
Dcurrent.txt4775 method public java.util.List<java.lang.Class<?>> parameterList();
4809 method public java.util.List<F> parameterList();