Home
last modified time | relevance | path

Searched refs:isRecord (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/crossvmtest/java/lang/
DRecordTest.java114 assertFalse(Object.class.isRecord()); in testIsRecord()
115 assertFalse(Record.class.isRecord()); in testIsRecord()
116 assertFalse(String.class.isRecord()); in testIsRecord()
117 assertFalse(NonRecordInteger.class.isRecord()); in testIsRecord()
120 assertTrue(a.getClass().isRecord()); in testIsRecord()
121 assertTrue(RecordInteger2.class.isRecord()); in testIsRecord()
DRecordComponentTest.java60 assertTrue(RecordInteger.class.isRecord()); in testBasic()
89 assertTrue(RecordInteger.class.isRecord()); in testGetRecordComponentAnnotation()
/libcore/ojluni/src/test/java/lang/reflect/records/
DRecordReflectionTest.java77 assertTrue(cls.isRecord()); in testIsRecord()
100 assertFalse(cls.isRecord()); in testNotARecordClass()
140 assertTrue(recordClass.isRecord()); in testRecordReflection()
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java616 assertTrue(recordClassA.isRecord()); in recordClass()
625 assertTrue(recordClassB.isRecord()); in recordClass()
628 assertFalse(nonFinalRecordClass.isRecord()); in recordClass()
631 assertTrue(emptyRecordClass.isRecord()); in recordClass()
633 assertFalse(validAbstractEmptyClass.isRecord()); in recordClass()
634 assertFalse(validNonFinalEmptyClass.isRecord()); in recordClass()
635 assertTrue(validRecordWithExtraElement.isRecord()); in recordClass()
636 assertFalse(validEmptyRecordWithoutRecordAnnotation.isRecord()); in recordClass()
DRecordTest.java76 assertTrue(a.getClass().isRecord()); in testReflection()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java127 private boolean isRecord; field in ObjectStreamClass
275 if (isRecord) in getSerialVersionUID()
492 isRecord = cl.isRecord(); in ObjectStreamClass()
523 if (isRecord) { in ObjectStreamClass()
562 } else if (cons == null && !isRecord) { in ObjectStreamClass()
566 if (isRecord && canonicalCtr == null) { in ObjectStreamClass()
646 !cl.isArray() && !cl.isRecord() && in initNonProxy()
694 isRecord = localDesc.isRecord; in initNonProxy()
707 assert cl.isRecord() ? localDesc.cons == null : true; in initNonProxy()
939 boolean isRecord() { in isRecord() method in ObjectStreamClass
[all …]
DObjectOutputStream.java1485 if (desc.isRecord()) { in writeOrdinaryObject()
1535 assert obj.getClass().isRecord(); in writeRecordData()
DObjectInputStream.java1926 final boolean isRecord = desc.isRecord(); in readOrdinaryObject()
1927 if (isRecord) { in readOrdinaryObject()
/libcore/ojluni/src/test/java/io/Serializable/records/
DSerialVersionUIDTest.java128 assertTrue(obj.getClass().isRecord()); in testSerializeFromClass()
DAbsentStreamValuesTest.java91 assert clazz.isRecord(); in testWithDifferentTypes()
/libcore/ojluni/src/main/java/java/lang/
DClass.java429 else if (isRecord()) in toGenericString()
2661 if (!isRecord()) { in getRecordComponents()
4069 public boolean isRecord() { in isRecord() method in Class
/libcore/api/
Dcurrent.txt3141 method public boolean isRecord();