Home
last modified time | relevance | path

Searched refs:bindTo (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandle.java50 public MethodHandle bindTo(Object x) { return null; } in bindTo() method in MethodHandle
/libcore/ojluni/src/test/java/lang/invoke/
DJavaDocExamplesTest.java346 .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()
DRicochetTest.java108 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()
DLoopCombinatorTest.java364 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()
DFoldTest.java89 … LOOKUP.findVirtual(StringWriter.class, "write", methodType(void.class, String.class)).bindTo(swr); in testFoldArgumentsExample()
DMethodHandlesCastFailureTest.java66 return VALUE.bindTo(this); in asMethodHandle()
DSpreadCollectTest.java194 bindTo(swr); in testAsCollectorExample()
DMethodHandlesGeneralTest.java715 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()
1645bindTo(new Exception(rethrownMessage)), 0, Throwable.class, String.class, String.class); in testTryFinally()
DMethodHandlesTest.java846 mh = MethodHandles.filterReturnValue(mh, CHANGE_ARRAY_TYPE.bindTo(arrayType)); in varargsArray()
/libcore/ojluni/src/main/java/java/lang/invoke/
DCallSite.java236 MethodHandle getTarget = GET_TARGET.bindTo(this); in makeDynamicInvoker()
DMethodHandle.java1525 public MethodHandle bindTo(Object x) { in bindTo() method in MethodHandle
DVarHandle.java2031 return MethodHandles.varHandleExactInvoker(accessMode, type).bindTo(this); in toMethodHandle()
DMethodHandles.java1779 MethodHandle adapter = handle.bindTo(receiver); in bind()
3009 return identity(type).bindTo(value); in constant()
/libcore/ojluni/src/test/java/lang/invoke/MethodHandles/
DTestTableSwitch.java176 return MH_IntConsumer_accept.bindTo(test); in testVoidHandles()
/libcore/ojluni/src/main/java/java/lang/runtime/
DObjectMethods.java214 …MethodHandle isInstance = MethodHandles.dropArguments(CLASS_IS_INSTANCE.bindTo(receiverClass), 0, … in makeEquals()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java662 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()
DMethodHandlesTest.java1873 mh = mh.bindTo(vat); in testVariableArity_combinators()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseTest.java275 return mh.bindTo(vh); in bind()
/libcore/api/
Dcurrent.txt4642 method public java.lang.invoke.MethodHandle bindTo(Object);