public static native getTypeByName(name as String) as Type
Resolves a type by name using the runtime facilities.
The lookup uses the same class path order as forName.
| Parameter | Description |
|---|---|
name | Class name to resolve. |
Metadata of the loaded class.
metadata = ClassLoader.getTypeByName("klyn.Int")
assert metadata == Int.type