Objc.getRuntimeMetaclass

Returns Objective-C runtime metaclass of the given class declaration.

ClassDeclaration.ObjcClassDeclaration.metaclass contains the metaclass from the semantic point of view. This function returns the metaclass from the Objective-C runtime's point of view. Here, the metaclass of a metaclass is the root metaclass, not null. The root metaclass's metaclass is itself.

class Objc
abstract const
getRuntimeMetaclass

Parameters

classDeclaration

The class declaration to return the metaclass of

Return Value

the Objective-C runtime metaclass of the given class declaration

Meta