# typedef Classdef

#### package haxe.rtti

#### import haxe.rtti.CType

Available on all platforms

The runtime class definition information.

### Properties

###

`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`.

###

`fields:List<ClassField>`

The list of member class fields.

###

`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.

###

`interfaces:List<PathParams>`

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

###

`isExtern:Bool`

Whether or not the class is extern.

###

`isInterface:Bool`

Whether or not the class is actually an interface.

###

`isPrivate:Bool`

Whether or not the type is private.

###

`meta:MetaData`

The metadata the type was annotated with.

###

`module:Path`

The type path of the module containing the type.

###

`params:TypeParams`

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

###

`path:Path`

The type path of the type.

###

`platforms:Platforms`

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

###

`statics:List<ClassField>`

The list of static class fields.

###

`superClass:Null<PathParams>`

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

###

`tdynamic:Null<CType>`

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