Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Reflection in the Java application

TioPort generates registration code in every class initializer. Every field, method and constructor is registered. So at startup of the ported app, every registered item can be accessed by its name. This mechanism is also a requirement for the java native interface.