getSuperClass abstract method
Returns the direct superclass of this class, if any.
- Returns
nullif this class has no explicit superclass (for example,Objector root types). - The returned value is a ClassReference, not a full declaration, allowing lightweight traversal of the inheritance tree.
Implementation
ClassReference? getSuperClass();