-
public final class InlinesKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> ClassMirrorfindSuperclass(ClassMirror $self)Recursively searches through this class's supertypes to find the most specific superclass with the specified type. final static <T extends Any> ClassMirrorgetSuperclass(ClassMirror $self)Recursively searches through this class's supertypes to find the most specific superclass with the specified type. -
-
Method Detail
-
findSuperclass
final static <T extends Any> ClassMirror findSuperclass(ClassMirror $self)
Recursively searches through this class's supertypes to find the most specific superclass with the specified type. If this class is the specified type this method returns this class. This method returns null if no such superclass was found. Use getSuperclass if you want an exception thrown on failure instead.
-
getSuperclass
final static <T extends Any> ClassMirror getSuperclass(ClassMirror $self)
Recursively searches through this class's supertypes to find the most specific superclass with the specified type. If this class is the specified type this method returns this class. This method throws an exception if no such superclass was found. Use findSuperclass if you want a null on failure instead.
-
-
-
-