Lines Matching refs:setter
377 MethodHandle setter = MethodHandles.arrayElementSetter(int[].class); in testArrayElementSetter() local
381 setter.invoke(array, 0, 42); in testArrayElementSetter()
382 setter.invoke(array, 1, 43); in testArrayElementSetter()
392 setter.invoke(array, -1, 42); in testArrayElementSetter()
398 setter.invoke(null, 0, 42); in testArrayElementSetter()
405 setter = MethodHandles.arrayElementSetter(long[].class); in testArrayElementSetter()
407 setter.invoke(array, 0, 42l); in testArrayElementSetter()
414 setter = MethodHandles.arrayElementSetter(short[].class); in testArrayElementSetter()
416 setter.invoke(array, 0, (short) 42); in testArrayElementSetter()
423 setter = MethodHandles.arrayElementSetter(char[].class); in testArrayElementSetter()
425 setter.invoke(array, 0, (char) 42); in testArrayElementSetter()
432 setter = MethodHandles.arrayElementSetter(byte[].class); in testArrayElementSetter()
434 setter.invoke(array, 0, (byte) 0x8); in testArrayElementSetter()
441 setter = MethodHandles.arrayElementSetter(boolean[].class); in testArrayElementSetter()
443 setter.invoke(array, 0, true); in testArrayElementSetter()
450 setter = MethodHandles.arrayElementSetter(float[].class); in testArrayElementSetter()
452 setter.invoke(array, 0, 42.0f); in testArrayElementSetter()
459 setter = MethodHandles.arrayElementSetter(double[].class); in testArrayElementSetter()
461 setter.invoke(array, 0, 42.0); in testArrayElementSetter()
468 setter = MethodHandles.arrayElementSetter(String[].class); in testArrayElementSetter()
470 setter.invoke(array, 0, "42"); in testArrayElementSetter()
471 setter.invoke(array, 1, "48"); in testArrayElementSetter()
472 setter.invoke(array, 2, "54"); in testArrayElementSetter()