Lines Matching refs:valueHolder

469                                 ValueHolder valueHolder,  in tryAccessor()  argument
475 setBoolean(methodHandle, valueHolder, booleanValue, in tryAccessor()
479 getBoolean(methodHandle, valueHolder, booleanValue, in tryAccessor()
485 setByte(methodHandle, valueHolder, byteValue, in tryAccessor()
489 getByte(methodHandle, valueHolder, byteValue, in tryAccessor()
495 setChar(methodHandle, valueHolder, charValue, in tryAccessor()
499 getChar(methodHandle, valueHolder, charValue, in tryAccessor()
505 setShort(methodHandle, valueHolder, shortValue, in tryAccessor()
509 getShort(methodHandle, valueHolder, shortValue, in tryAccessor()
515 setInt(methodHandle, valueHolder, intValue, in tryAccessor()
519 getInt(methodHandle, valueHolder, intValue, in tryAccessor()
525 setLong(methodHandle, valueHolder, longValue, in tryAccessor()
529 getLong(methodHandle, valueHolder, longValue, in tryAccessor()
535 setFloat(methodHandle, valueHolder, floatValue, in tryAccessor()
539 getFloat(methodHandle, valueHolder, floatValue, in tryAccessor()
545 setDouble(methodHandle, valueHolder, doubleValue, in tryAccessor()
549 getDouble(methodHandle, valueHolder, doubleValue, in tryAccessor()
555 setString(methodHandle, valueHolder, stringValue, in tryAccessor()
559 getString(methodHandle, valueHolder, stringValue, in tryAccessor()
566 ValueHolder valueHolder = new ValueHolder(); in main() local
573 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.IPUT); in main() local
575 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.IGET); in main() local
576 assertTrue(valueHolder.m_z == b); in main()
578 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.SPUT); in main() local
580 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.SGET); in main() local
588 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IPUT); in main() local
590 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IGET); in main() local
591 assertTrue(valueHolder.m_b == b); in main()
593 valueHolder, PrimitiveType.Byte, boxed, AccessorType.SPUT); in main() local
595 valueHolder, PrimitiveType.Byte, boxed, AccessorType.SGET); in main() local
603 valueHolder, PrimitiveType.Char, boxed, AccessorType.IPUT); in main() local
605 valueHolder, PrimitiveType.Char, boxed, AccessorType.IGET); in main() local
606 assertTrue(valueHolder.m_c == c); in main()
608 valueHolder, PrimitiveType.Char, boxed, AccessorType.SPUT); in main() local
610 valueHolder, PrimitiveType.Char, boxed, AccessorType.SGET); in main() local
618 valueHolder, PrimitiveType.Short, boxed, AccessorType.IPUT); in main() local
620 valueHolder, PrimitiveType.Short, boxed, AccessorType.IGET); in main() local
621 assertTrue(valueHolder.m_s == s); in main()
623 valueHolder, PrimitiveType.Short, boxed, AccessorType.SPUT); in main() local
625 valueHolder, PrimitiveType.Short, boxed, AccessorType.SGET); in main() local
633 valueHolder, PrimitiveType.Int, boxed, AccessorType.IPUT); in main() local
635 valueHolder, PrimitiveType.Int, boxed, AccessorType.IGET); in main() local
636 assertTrue(valueHolder.m_i == i); in main()
638 valueHolder, PrimitiveType.Int, boxed, AccessorType.SPUT); in main() local
640 valueHolder, PrimitiveType.Int, boxed, AccessorType.SGET); in main() local
648 valueHolder, PrimitiveType.Float, boxed, AccessorType.IPUT); in main() local
650 valueHolder, PrimitiveType.Float, boxed, AccessorType.IGET); in main() local
651 assertTrue(valueHolder.m_f == f); in main()
653 valueHolder, PrimitiveType.Float, boxed, AccessorType.SPUT); in main() local
655 valueHolder, PrimitiveType.Float, boxed, AccessorType.SGET); in main() local
663 valueHolder, PrimitiveType.Double, boxed, AccessorType.IPUT); in main() local
665 valueHolder, PrimitiveType.Double, boxed, AccessorType.IGET); in main() local
666 assertTrue(valueHolder.m_d == d); in main()
668 valueHolder, PrimitiveType.Double, boxed, AccessorType.SPUT); in main() local
670 valueHolder, PrimitiveType.Double, boxed, AccessorType.SGET); in main() local
678 valueHolder, PrimitiveType.Long, boxed, AccessorType.IPUT); in main() local
680 valueHolder, PrimitiveType.Long, boxed, AccessorType.IGET); in main() local
681 assertTrue(valueHolder.m_j == j); in main()
683 valueHolder, PrimitiveType.Long, boxed, AccessorType.SPUT); in main() local
685 valueHolder, PrimitiveType.Long, boxed, AccessorType.SGET); in main() local
692 valueHolder, PrimitiveType.String, s, AccessorType.IPUT); in main() local
694 valueHolder, PrimitiveType.String, s, AccessorType.IGET); in main() local
695 assertTrue(s.equals(valueHolder.m_l)); in main()
697 valueHolder, PrimitiveType.String, s, AccessorType.SPUT); in main() local
699 valueHolder, PrimitiveType.String, s, AccessorType.SGET); in main() local
778 ValueHolder valueHolder = new ValueHolder(); in testMemberGetter() local
781 h0.invoke(valueHolder); in testMemberGetter()
782 Number t = (Number) h0.invoke(valueHolder); in testMemberGetter()
783 int u = (int) h0.invoke(valueHolder); in testMemberGetter()
784 Integer v = (Integer) h0.invoke(valueHolder); in testMemberGetter()
785 long w = (long) h0.invoke(valueHolder); in testMemberGetter()
787 byte x = (byte) h0.invoke(valueHolder); in testMemberGetter()
791 String y = (String) h0.invoke(valueHolder); in testMemberGetter()
795 Long z = (Long) h0.invoke(valueHolder); in testMemberGetter()
815 ValueHolder valueHolder = new ValueHolder(); in testMemberSetter() local
819 h0.invoke(valueHolder, 0.22f); in testMemberSetter()
820 h0.invoke(valueHolder, Float.valueOf(1.11f)); in testMemberSetter()
822 h0.invoke(valueHolder, floatNumber); in testMemberSetter()
823 assertTrue(valueHolder.m_f == floatNumber.floatValue()); in testMemberSetter()
825 h0.invoke(valueHolder, objNumber); in testMemberSetter()
826 assertTrue(valueHolder.m_f == ((Float) objNumber).floatValue()); in testMemberSetter()
828 h0.invoke(valueHolder, (Float) null); in testMemberSetter()
837 short temp = (short) s0.invoke(valueHolder, new Byte((byte) 45)); in testMemberSetter()
839 assertTrue(valueHolder.m_s == 45); in testMemberSetter()
841 h0.invoke(valueHolder, (byte) 1); in testMemberSetter()
842 h0.invoke(valueHolder, (short) 2); in testMemberSetter()
843 h0.invoke(valueHolder, 3); in testMemberSetter()
844 h0.invoke(valueHolder, 4l); in testMemberSetter()
846 assertTrue(null == (Object) h0.invoke(valueHolder, 33)); in testMemberSetter()
847 assertTrue(0.0f == (float) h0.invoke(valueHolder, 33)); in testMemberSetter()
848 assertTrue(0l == (long) h0.invoke(valueHolder, 33)); in testMemberSetter()
851 h0.invoke(valueHolder, 0.33); in testMemberSetter()
856 h0.invoke(valueHolder, doubleNumber); in testMemberSetter()
861 h0.invoke(valueHolder, doubleNumber); in testMemberSetter()
866 float tmp = (float) h0.invoke(valueHolder, 0.45f); in testMemberSetter()
870 h0.invoke(valueHolder, "bam"); in testMemberSetter()
875 h0.invoke(valueHolder, s); in testMemberSetter()