Home
last modified time | relevance | path

Searched refs:asType (Results 1 – 2 of 2) sorted by relevance

/art/test/956-methodhandles/src/
DMain.java599 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/
DMain.java111 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()