Reflective discovery of styleable properties

Michael Strauß michaelstrau2 at gmail.com
Thu Dec 7 22:50:31 UTC 2023


We could also use reflection in combination with annotations. You'd
need to annotate every CSS-styleable property (a simple @Styleable
annotation would suffice), and at runtime we can discover the
annotated methods and reflect their metadata.

This solves the problem that automatic styleable property discovery
might be surprising for developers.


More information about the openjfx-dev mailing list