Searched refs:recordClass (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | RecordClassTest.java | 93 public void testClassSerialization(Class<?> recordClass, long unused) in testClassSerialization() argument 97 out.println("serializing : " + recordClass); in testClassSerialization() 98 var deserializedClass = serializeDeserialize(recordClass); in testClassSerialization() 100 assertEquals(recordClass, deserializedClass); in testClassSerialization() 101 assertEquals(deserializedClass, recordClass); in testClassSerialization() 106 public void testSerialVersionUID(Class<?> recordClass, long expectedUID) { in testSerialVersionUID() argument 108 ObjectStreamClass osc = ObjectStreamClass.lookup(recordClass); in testSerialVersionUID() 112 osc = ObjectStreamClass.lookupAny(recordClass); in testSerialVersionUID() 136 public void testSerialVersionUIDNonSer(Class<?> recordClass) { in testSerialVersionUIDNonSer() argument 138 ObjectStreamClass osc = ObjectStreamClass.lookup(recordClass); in testSerialVersionUIDNonSer() [all …]
|
/libcore/ojluni/src/test/java/lang/reflect/records/ |
D | RecordReflectionTest.java | 139 Class<?> recordClass = recordOb.getClass(); in testRecordReflection() local 140 assertTrue(recordClass.isRecord()); in testRecordReflection() 141 RecordComponent[] recordComponents = recordClass.getRecordComponents(); in testRecordReflection() 162 Class<?> recordClass = AnnotatedRec.class; in testDeclAnnotationsInRecordComp() local 163 RecordComponent rc = recordClass.getRecordComponents()[0]; in testDeclAnnotationsInRecordComp() 168 Field f = recordClass.getDeclaredField("i"); in testDeclAnnotationsInRecordComp() 200 Class<?> recordClass = R2.class; in testReadOnlyFieldInRecord() local 202 Field f = recordClass.getDeclaredField(fieldName); in testReadOnlyFieldInRecord()
|
/libcore/ojluni/src/main/java/java/lang/runtime/ |
D | ObjectMethods.java | 334 Class<?> recordClass, in bootstrap() argument 348 …ype != null && !methodType.equals(MethodType.methodType(boolean.class, recordClass, Object.class))) in bootstrap() 350 yield makeEquals(recordClass, getterList); in bootstrap() 353 … if (methodType != null && !methodType.equals(MethodType.methodType(int.class, recordClass))) in bootstrap() 355 yield makeHashCode(recordClass, getterList); in bootstrap() 358 … if (methodType != null && !methodType.equals(MethodType.methodType(String.class, recordClass))) in bootstrap() 363 yield makeToString(recordClass, getterList, nameList); in bootstrap()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/runtime/ |
D | ObjectMethods.annotated.java | 38 @libcore.util.NonNull java.lang.Class<?> recordClass, in bootstrap() argument
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ClassTest.java | 595 public void recordClass() { in recordClass() method in ClassTest
|