javaTypeOf

inline fun <reified T> javaTypeOf(): Type

Returns the Java Type for T, including generic type arguments (e.g., Page<Contact>).

Use this to pass entity types to endpoint constructors, e.g., in super-constructor calls where the reified factory functions are not available.