Rtti is a helper class which supplements the @:rtti metadata.

See also:

Static methods

staticgetRtti<T>(c:Class<T>):Classdef

Returns the haxe.rtti.CType.Classdef corresponding to class c.

If c has no runtime type information, e.g. because no @:rtti was added, an exception of type String is thrown.

If c is null, the result is unspecified.