Reflection
@RequiresOptIn(message = "This functionality uses reflection.
APIs annotated with @Reflection rely on reflection and can throw
com.badlogic.gdx.utils.reflect.ReflectionException when unable to
complete an action. Reflection usage requires opt-in with
@OptIn(Reflection::class) or propagating the warnings further
with a @Reflection annotation.
Note that reflection might not be fully supported by all platforms,
especially third-party libGDX backends. Some platforms might require
additional setup. For example, all classes that are instantiated
solely by reflection must be listed in the robovm.xml file within
the ForceLinkClasses section in order to work on iOS.
Further reading:
* https://libgdx.com/wiki/utils/reflection
* https://kotlinlang.org/docs/opt-in-requirements.html
")