Lines Matching refs:MethodHandle
16 import java.lang.invoke.MethodHandle;
101 static void setByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in setByte()
118 static void setByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { in setByte()
122 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) in getByte()
140 static void getByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { in getByte()
144 static void setChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in setChar()
161 static void setChar(MethodHandle m, char value, boolean expectFailure) throws Throwable { in setChar()
165 static void getChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure) in getChar()
183 static void getChar(MethodHandle m, char value, boolean expectFailure) throws Throwable { in getChar()
187 static void setShort(MethodHandle m, ValueHolder v, short value, boolean expectFailure) in setShort()
204 static void setShort(MethodHandle m, short value, boolean expectFailure) throws Throwable { in setShort()
208 static void getShort(MethodHandle m, ValueHolder v, short value, boolean expectFailure) in getShort()
221 static void getShort(MethodHandle m, short value, boolean expectFailure) throws Throwable { in getShort()
225 static void setInt(MethodHandle m, ValueHolder v, int value, boolean expectFailure) in setInt()
242 static void setInt(MethodHandle m, int value, boolean expectFailure) throws Throwable { in setInt()
246 static void getInt(MethodHandle m, ValueHolder v, int value, boolean expectFailure) in getInt()
259 static void getInt(MethodHandle m, int value, boolean expectFailure) throws Throwable { in getInt()
263 static void setLong(MethodHandle m, ValueHolder v, long value, boolean expectFailure) in setLong()
280 static void setLong(MethodHandle m, long value, boolean expectFailure) throws Throwable { in setLong()
284 static void getLong(MethodHandle m, ValueHolder v, long value, boolean expectFailure) in getLong()
297 static void getLong(MethodHandle m, long value, boolean expectFailure) throws Throwable { in getLong()
301 static void setFloat(MethodHandle m, ValueHolder v, float value, boolean expectFailure) in setFloat()
318 static void setFloat(MethodHandle m, float value, boolean expectFailure) throws Throwable { in setFloat()
322 static void getFloat(MethodHandle m, ValueHolder v, float value, boolean expectFailure) in getFloat()
335 static void getFloat(MethodHandle m, float value, boolean expectFailure) throws Throwable { in getFloat()
339 static void setDouble(MethodHandle m, ValueHolder v, double value, boolean expectFailure) in setDouble()
356 static void setDouble(MethodHandle m, double value, boolean expectFailure) in setDouble()
361 static void getDouble(MethodHandle m, ValueHolder v, double value, boolean expectFailure) in getDouble()
374 static void getDouble(MethodHandle m, double value, boolean expectFailure) in getDouble()
379 static void setString(MethodHandle m, ValueHolder v, String value, boolean expectFailure) in setString()
396 static void setString(MethodHandle m, String value, boolean expectFailure) in setString()
401 static void getString(MethodHandle m, ValueHolder v, String value, boolean expectFailure) in getString()
414 static void getString(MethodHandle m, String value, boolean expectFailure) in getString()
419 static void setBoolean(MethodHandle m, ValueHolder v, boolean value, boolean expectFailure) in setBoolean()
436 static void setBoolean(MethodHandle m, boolean value, boolean expectFailure) in setBoolean()
441 static void getBoolean(MethodHandle m, ValueHolder v, boolean value, boolean expectFailure) in getBoolean()
455 static void getBoolean(MethodHandle m, boolean value, boolean expectFailure) in getBoolean()
466 static void tryAccessor(MethodHandle methodHandle, in tryAccessor()
713 MethodHandle mh = lookup.findStaticGetter(ValueHolder.class, "s_fi", int.class); in main()
718 MethodHandle mh = lookup.findStaticSetter(ValueHolder.class, "s_i", int.class); in main()
755 MethodHandle h0 = lookup.findStaticGetter(ValueHolder.class, "s_fi", int.class); in testStaticGetter()
778 MethodHandle h0 = lookup.findGetter(ValueHolder.class, "m_fi", int.class); in testMemberGetter()
811 MethodHandle h0 = lookup.findSetter(ValueHolder.class, "m_f", float.class); in testMemberSetter()
812 MethodHandle s0 = lookup.findSetter(ValueHolder.class, "m_s", short.class); in testMemberSetter()
872 MethodHandle s0 = lookup.findStaticSetter(ValueHolder.class, "s_s", short.class); in testStaticSetter()
873 MethodHandle h0 = lookup.findStaticSetter(ValueHolder.class, "s_f", float.class); in testStaticSetter()
982 MethodHandle mh = MethodHandles.lookup().unreflectSetter(f); in main()
986 MethodHandle mh = MethodHandles.lookup().unreflectGetter(f); in main()
998 MethodHandle mh = MethodHandles.lookup().unreflectGetter(f); in main()
1002 MethodHandle mh = MethodHandles.lookup().unreflectSetter(f); in main()