getSupertype

Returns the generic form of {@code supertype} . For example, if this is {@code * ArrayList} , this returns {@code Iterable} given the input {@code * Iterable.class} .

Parameters

supertype

a superclass of, or interface implemented by, this.

open fun getSupertype(context: Type, contextRawType: Class<out Any>, supertype: Class<out Any>): Type