Interface ReflectType<T>
- Type Parameters:
T- raw type
- All Known Implementing Classes:
KotlinDataClassType,PojoType,RecordType,SimpleType
public interface ReflectType<T>
Basic reflection information for the specified raw type.
-
Method Summary
Modifier and TypeMethodDescriptionReturns subfields of this type in the order of their appearance inthe canonical all-arg constructor.
-
Method Details
-
getFields
List<ReflectField> getFields()Returns subfields of this type in the order of their appearance inthe canonical all-arg constructor.- Returns:
- list of subfields of this type in constructor order; might be empty
-
getConstructor
Constructor<T> getConstructor()- Returns:
- canonical all-args constructor for this type
- Throws:
UnsupportedOperationException- if this type cannot be constructed from a list of its field values
-
getRawType
- Returns:
- raw type that this reflection information describes
-