The runtime class definition information.

Fields

tdynamic:Null<CType>

The type which is dynamically implemented by the class or null if no such type exists.

superClass:Null<PathParams>

The class' parent class defined by its type path and list of type parameters.

statics:Array<ClassField>

The list of static class fields.

platforms:Platforms

A list of strings representing the targets where the type is available.

path:Path

The type path of the type.

params:TypeParams

An array of strings representing the names of the type parameters the type has.

module:Path

The type path of the module containing the type.

meta:MetaData

The metadata the type was annotated with.

isPrivate:Bool

Whether or not the type is private.

isInterface:Bool

Whether or not the class is actually an interface.

isFinal:Bool

Whether or not the class is final.

isExtern:Bool

Whether or not the class is extern.

interfaces:Array<PathParams>

The list of interfaces defined by their type path and list of type parameters.

file:Null<String>

The full slash path of the .hx file containing the type. This might be null in case there is no such file, e.g. if the type is defined through a macro.

fields:Array<ClassField>

The list of member class fields.

doc:Null<String>

The documentation of the type. This information is only available if the compiler flag -D use_rtti_doc was in place. Otherwise, or if the constructor has no documentation, the value is null.