Adding support for constants, both java and cpp now supported. However not possible to use constants as field default values (yet)