Lines Matching refs:valueHolder
467 ValueHolder valueHolder, in tryAccessor() argument
473 setBoolean(methodHandle, valueHolder, booleanValue, in tryAccessor()
477 getBoolean(methodHandle, valueHolder, booleanValue, in tryAccessor()
483 setByte(methodHandle, valueHolder, byteValue, in tryAccessor()
487 getByte(methodHandle, valueHolder, byteValue, in tryAccessor()
493 setChar(methodHandle, valueHolder, charValue, in tryAccessor()
497 getChar(methodHandle, valueHolder, charValue, in tryAccessor()
503 setShort(methodHandle, valueHolder, shortValue, in tryAccessor()
507 getShort(methodHandle, valueHolder, shortValue, in tryAccessor()
513 setInt(methodHandle, valueHolder, intValue, in tryAccessor()
517 getInt(methodHandle, valueHolder, intValue, in tryAccessor()
523 setLong(methodHandle, valueHolder, longValue, in tryAccessor()
527 getLong(methodHandle, valueHolder, longValue, in tryAccessor()
533 setFloat(methodHandle, valueHolder, floatValue, in tryAccessor()
537 getFloat(methodHandle, valueHolder, floatValue, in tryAccessor()
543 setDouble(methodHandle, valueHolder, doubleValue, in tryAccessor()
547 getDouble(methodHandle, valueHolder, doubleValue, in tryAccessor()
553 setString(methodHandle, valueHolder, stringValue, in tryAccessor()
557 getString(methodHandle, valueHolder, stringValue, in tryAccessor()
564 ValueHolder valueHolder = new ValueHolder(); in main() local
571 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.IPUT); in main() local
573 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.IGET); in main() local
574 assertTrue(valueHolder.m_z == b); in main()
576 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.SPUT); in main() local
578 valueHolder, PrimitiveType.Boolean, boxed, AccessorType.SGET); in main() local
586 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IPUT); in main() local
588 valueHolder, PrimitiveType.Byte, boxed, AccessorType.IGET); in main() local
589 assertTrue(valueHolder.m_b == b); in main()
591 valueHolder, PrimitiveType.Byte, boxed, AccessorType.SPUT); in main() local
593 valueHolder, PrimitiveType.Byte, boxed, AccessorType.SGET); in main() local
601 valueHolder, PrimitiveType.Char, boxed, AccessorType.IPUT); in main() local
603 valueHolder, PrimitiveType.Char, boxed, AccessorType.IGET); in main() local
604 assertTrue(valueHolder.m_c == c); in main()
606 valueHolder, PrimitiveType.Char, boxed, AccessorType.SPUT); in main() local
608 valueHolder, PrimitiveType.Char, boxed, AccessorType.SGET); in main() local
616 valueHolder, PrimitiveType.Short, boxed, AccessorType.IPUT); in main() local
618 valueHolder, PrimitiveType.Short, boxed, AccessorType.IGET); in main() local
619 assertTrue(valueHolder.m_s == s); in main()
621 valueHolder, PrimitiveType.Short, boxed, AccessorType.SPUT); in main() local
623 valueHolder, PrimitiveType.Short, boxed, AccessorType.SGET); in main() local
631 valueHolder, PrimitiveType.Int, boxed, AccessorType.IPUT); in main() local
633 valueHolder, PrimitiveType.Int, boxed, AccessorType.IGET); in main() local
634 assertTrue(valueHolder.m_i == i); in main()
636 valueHolder, PrimitiveType.Int, boxed, AccessorType.SPUT); in main() local
638 valueHolder, PrimitiveType.Int, boxed, AccessorType.SGET); in main() local
646 valueHolder, PrimitiveType.Float, boxed, AccessorType.IPUT); in main() local
648 valueHolder, PrimitiveType.Float, boxed, AccessorType.IGET); in main() local
649 assertTrue(valueHolder.m_f == f); in main()
651 valueHolder, PrimitiveType.Float, boxed, AccessorType.SPUT); in main() local
653 valueHolder, PrimitiveType.Float, boxed, AccessorType.SGET); in main() local
661 valueHolder, PrimitiveType.Double, boxed, AccessorType.IPUT); in main() local
663 valueHolder, PrimitiveType.Double, boxed, AccessorType.IGET); in main() local
664 assertTrue(valueHolder.m_d == d); in main()
666 valueHolder, PrimitiveType.Double, boxed, AccessorType.SPUT); in main() local
668 valueHolder, PrimitiveType.Double, boxed, AccessorType.SGET); in main() local
676 valueHolder, PrimitiveType.Long, boxed, AccessorType.IPUT); in main() local
678 valueHolder, PrimitiveType.Long, boxed, AccessorType.IGET); in main() local
679 assertTrue(valueHolder.m_j == j); in main()
681 valueHolder, PrimitiveType.Long, boxed, AccessorType.SPUT); in main() local
683 valueHolder, PrimitiveType.Long, boxed, AccessorType.SGET); in main() local
690 valueHolder, PrimitiveType.String, s, AccessorType.IPUT); in main() local
692 valueHolder, PrimitiveType.String, s, AccessorType.IGET); in main() local
693 assertTrue(s.equals(valueHolder.m_l)); in main()
695 valueHolder, PrimitiveType.String, s, AccessorType.SPUT); in main() local
697 valueHolder, PrimitiveType.String, s, AccessorType.SGET); in main() local
776 ValueHolder valueHolder = new ValueHolder(); in testMemberGetter() local
779 h0.invoke(valueHolder); in testMemberGetter()
780 Number t = (Number) h0.invoke(valueHolder); in testMemberGetter()
781 int u = (int) h0.invoke(valueHolder); in testMemberGetter()
782 Integer v = (Integer) h0.invoke(valueHolder); in testMemberGetter()
783 long w = (long) h0.invoke(valueHolder); in testMemberGetter()
785 byte x = (byte) h0.invoke(valueHolder); in testMemberGetter()
789 String y = (String) h0.invoke(valueHolder); in testMemberGetter()
793 Long z = (Long) h0.invoke(valueHolder); in testMemberGetter()
809 ValueHolder valueHolder = new ValueHolder(); in testMemberSetter() local
813 h0.invoke(valueHolder, 0.22f); in testMemberSetter()
814 h0.invoke(valueHolder, Float.valueOf(1.11f)); in testMemberSetter()
816 h0.invoke(valueHolder, floatNumber); in testMemberSetter()
817 assertTrue(valueHolder.m_f == floatNumber.floatValue()); in testMemberSetter()
819 h0.invoke(valueHolder, objNumber); in testMemberSetter()
820 assertTrue(valueHolder.m_f == ((Float) objNumber).floatValue()); in testMemberSetter()
822 h0.invoke(valueHolder, (Float) null); in testMemberSetter()
827 short temp = (short) s0.invoke(valueHolder, new Byte((byte) 45)); in testMemberSetter()
829 assertTrue(valueHolder.m_s == 45); in testMemberSetter()
831 h0.invoke(valueHolder, (byte) 1); in testMemberSetter()
832 h0.invoke(valueHolder, (short) 2); in testMemberSetter()
833 h0.invoke(valueHolder, 3); in testMemberSetter()
834 h0.invoke(valueHolder, 4l); in testMemberSetter()
836 assertTrue(null == (Object) h0.invoke(valueHolder, 33)); in testMemberSetter()
837 assertTrue(0.0f == (float) h0.invoke(valueHolder, 33)); in testMemberSetter()
838 assertTrue(0l == (long) h0.invoke(valueHolder, 33)); in testMemberSetter()
841 h0.invoke(valueHolder, 0.33); in testMemberSetter()
846 h0.invoke(valueHolder, doubleNumber); in testMemberSetter()
851 h0.invoke(valueHolder, doubleNumber); in testMemberSetter()
856 float tmp = (float) h0.invoke(valueHolder, 0.45f); in testMemberSetter()
860 h0.invoke(valueHolder, "bam"); in testMemberSetter()
865 h0.invoke(valueHolder, s); in testMemberSetter()