Searched refs:MethodHandleWrapper (Results 1 – 2 of 2) sorted by relevance
94 public static final class MethodHandleWrapper { class in Test197697 public MethodHandleWrapper(MethodHandle mh, Method m) { in MethodHandleWrapper() method in Test1976.MethodHandleWrapper115 public static MethodHandleWrapper[] getMethodHandles(Method[] methods) throws Exception { in getMethodHandles()117 ArrayList<MethodHandleWrapper> res = new ArrayList<>(); in getMethodHandles()122 res.add(new MethodHandleWrapper(l.unreflect(m), m)); in getMethodHandles()124 return res.toArray(new MethodHandleWrapper[0]); in getMethodHandles()127 public static void runMethodHandles(MethodHandleWrapper[] handles) throws Exception { in runMethodHandles()128 for (MethodHandleWrapper h : handles) { in runMethodHandles()161 MethodHandleWrapper[] handles = getMethodHandles(methods); in doTest()
140 public static final class MethodHandleWrapper { class in Test1975143 public MethodHandleWrapper(MethodHandle mh, Field f) { in MethodHandleWrapper() method in Test1975.MethodHandleWrapper161 public static MethodHandleWrapper[] getMethodHandles(Field[] fields) throws Exception { in getMethodHandles()163 MethodHandleWrapper[] res = new MethodHandleWrapper[fields.length]; in getMethodHandles()165 res[i] = new MethodHandleWrapper(l.unreflectGetter(fields[i]), fields[i]);; in getMethodHandles()170 public static void readMethodHandles(MethodHandleWrapper[] handles) throws Exception { in readMethodHandles()171 for (MethodHandleWrapper h : handles) { in readMethodHandles()197 MethodHandleWrapper[] handles = getMethodHandles(Transform1975.class.getFields()); in doTest()198 for (MethodHandleWrapper h : handles) { in doTest()203 …MethodHandleWrapper write_wrapper = new MethodHandleWrapper(MethodHandles.lookup().unreflectSetter… in doTest()