UnderwaterApps/overlap2d-runtime-libgdx — pull request #4 by nhydock (2014-10-30 04:07:26+00:00)
Title: Add annotation based injection method

Works like JavaFX, you can easily keep all the main elements you wish to
store as instance variables as annotated fields. It casts the elements
based on compatibility, so if the item loaded from your Overlap2D
project does not match the field type, your application will crash.

Injection works with any object type, not just stages, so you can inject
into simple struct like objects or more. Injection may only be called
after the scene loader has loaded a scene.

Really this is only done as a fun convenience.