/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandle.java | 50 public MethodHandle bindTo(Object x) { return null; } in bindTo() method in MethodHandle
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | JavaDocExamplesTest.java | 346 .bindTo(System.out); in testFoldArguments() 657 MethodHandle arrayToString_DIS = filterReturnValue(arrayToString, concat.bindTo("DIS:")); in testFoldArguments2() 658 MethodHandle arrayToString_INV = filterReturnValue(arrayToString, concat.bindTo("INV:")); in testFoldArguments2() 659 MethodHandle printArgs_DIS = filterReturnValue(arrayToString_DIS, println.bindTo(System.out)).asVar… in testFoldArguments2() 660 MethodHandle printArgs_INV = filterReturnValue(arrayToString_INV, println.bindTo(System.out)).asVar… in testFoldArguments2() 670 dispatch = dispatch.bindTo(lookup); in testFoldArguments2() 912 .bindTo(System.out); in testFoldArguments3() 927 …ringWriter.class, "write", methodType(void.class, char[].class, int.class, int.class)).bindTo(swr); in testAsCollector2()
|
D | RicochetTest.java | 108 MethodHandle add0 = addL.bindTo(0); in testFilterReturnValue() 115 MethodHandle add0 = addL.bindTo(0); in testFilterObject() 118 MethodHandle add13 = addL.bindTo(bump13); in testFilterObject() 119 MethodHandle add13_0 = addL.bindTo(opI2(bump13, 0)); in testFilterObject() 120 MethodHandle add13_1 = addL.bindTo(opI2(0, bump13)); in testFilterObject() 344 arrayElementGetter(vals.getClass()).bindTo(vals); in testReturns()
|
D | LoopCombinatorTest.java | 364 While.MH_voidBody.bindTo(w), in testDoWhileBadInit() 365 While.MH_voidPred.bindTo(w)); in testDoWhileBadInit() 389 While.MH_voidPred.bindTo(w), in testWhileBadInit() 390 While.MH_voidBody.bindTo(w)); in testWhileBadInit() 402 …thodHandle loop = MethodHandles.whileLoop(While.MH_voidInit.bindTo(w), While.MH_voidPred.bindTo(w), in testWhileVoidInit() 403 While.MH_voidBody.bindTo(w)); in testWhileVoidInit() 413 …odHandle loop = MethodHandles.doWhileLoop(While.MH_voidInit.bindTo(w), While.MH_voidBody.bindTo(w), in testDoWhileVoidInit() 414 While.MH_voidPred.bindTo(w)); in testDoWhileVoidInit()
|
D | FoldTest.java | 89 … LOOKUP.findVirtual(StringWriter.class, "write", methodType(void.class, String.class)).bindTo(swr); in testFoldArgumentsExample()
|
D | MethodHandlesCastFailureTest.java | 66 return VALUE.bindTo(this); in asMethodHandle()
|
D | SpreadCollectTest.java | 194 bindTo(swr); in testAsCollectorExample()
|
D | MethodHandlesGeneralTest.java | 715 mh = mh.bindTo(fieldsForMH); in testAccessor() 1091 vac0 = vac0.bindTo("vac"); in testVarargsCollector() 1637 …MethodHandles.throwException(String.class, Exception.class).bindTo(new Exception(thrownMessage)), … in testTryFinally() 1645 … bindTo(new Exception(rethrownMessage)), 0, Throwable.class, String.class, String.class); in testTryFinally()
|
D | MethodHandlesTest.java | 846 mh = MethodHandles.filterReturnValue(mh, CHANGE_ARRAY_TYPE.bindTo(arrayType)); in varargsArray()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | CallSite.java | 236 MethodHandle getTarget = GET_TARGET.bindTo(this); in makeDynamicInvoker()
|
D | MethodHandle.java | 1525 public MethodHandle bindTo(Object x) { in bindTo() method in MethodHandle
|
D | VarHandle.java | 2031 return MethodHandles.varHandleExactInvoker(accessMode, type).bindTo(this); in toMethodHandle()
|
D | MethodHandles.java | 1779 MethodHandle adapter = handle.bindTo(receiver); in bind() 3009 return identity(type).bindTo(value); in constant()
|
/libcore/ojluni/src/test/java/lang/invoke/MethodHandles/ |
D | TestTableSwitch.java | 176 return MH_IntConsumer_accept.bindTo(test); in testVoidHandles()
|
/libcore/ojluni/src/main/java/java/lang/runtime/ |
D | ObjectMethods.java | 214 …MethodHandle isInstance = MethodHandles.dropArguments(CLASS_IS_INSTANCE.bindTo(receiverClass), 0, … in makeEquals()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 662 MethodHandle bound = stringCharAt.bindTo("foo"); in testBindTo() 669 stringCharAt.bindTo(new Object()); in testBindTo() 674 bound = stringCharAt.bindTo(null); in testBindTo() 684 bound = integerParseInt.bindTo("78452"); in testBindTo()
|
D | MethodHandlesTest.java | 1873 mh = mh.bindTo(vat); in testVariableArity_combinators()
|
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleBaseTest.java | 275 return mh.bindTo(vh); in bind()
|
/libcore/api/ |
D | current.txt | 4642 method public java.lang.invoke.MethodHandle bindTo(Object);
|