Bindgen is a type-safe alternative to expression languages like UL and OGNL.

It provides:

See examples for the binding syntax.


Bindgen uses code generation, but is implemented as a JDK6 annotation processor to provide (in Eclipse) a seamless editing/generation experience. The generated code is kept up to date as soon as “save” is hit.

When save is hit, Bindgen inspects the class that just changed and generates a mirror XxxBinding class that has type-safe methods that return Binding instances that wrap around each of your class’s public properties (fields or methods).

Again, see the examples for more details.