Searched refs:asType (Results 1 – 2 of 2) sorted by relevance
/art/test/956-methodhandles/src/ |
D | Main.java | 599 MethodHandle asType = mh.asType( in testAsType() local 602 Object obj = asType.invokeExact((CharSequence) getSequence(), "bar"); in testAsType() 607 String str = (String) asType.invokeExact((CharSequence) getSequence(), "bar"); in testAsType() 614 String str = (String) asType.invokeExact("baz", "bar"); in testAsType() 623 mh.asType(MethodType.methodType(int.class, String.class, String.class)); in testAsType() 630 mh.asType(MethodType.methodType(String.class, int.class, String.class)); in testAsType()
|
/art/test/957-methodhandle-transforms/src/ |
D | Main.java | 111 transform = transform.asType(MethodType.methodType(void.class, in testDropArguments() 212 adapter = adapter.asType(MethodType.methodType(String.class, in testCatchException() 260 adapter = adapter.asType(MethodType.methodType(String.class, in testGuardWithTest()
|