Searched refs:BarImpl (Results 1 – 1 of 1) sorted by relevance
/art/test/956-methodhandles/src/ |
D | Main.java | 246 public static class BarImpl extends BarSuper implements Bar { class in Main 247 public BarImpl() { in BarImpl() method in Main.BarImpl 282 BarImpl.class, "staticMethod", MethodType.methodType(String.class)); in testfindVirtual() 291 BarImpl.class, "privateMethod", MethodType.methodType(String.class)); in testfindVirtual() 298 MethodHandle mh = BarImpl.lookup.findVirtual( in testfindVirtual() 299 BarImpl.class, "privateMethod", MethodType.methodType(String.class)); in testfindVirtual() 300 String str = (String) mh.invoke(new BarImpl()); in testfindVirtual() 307 mh = MethodHandles.lookup().findVirtual(BarImpl.class, "foo", in testfindVirtual() 309 str = (String) mh.invoke(new BarImpl()); in testfindVirtual() 316 mh = MethodHandles.lookup().findVirtual(BarImpl.class, "foo", in testfindVirtual() [all …]
|