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 Details

    • getFields

      List<ReflectField> getFields()
      Returns subfields of this type in the order of their appearance in the 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

      Class<T> getRawType()
      Returns:
      raw type that this reflection information describes