Merge pull request #1048 from FranciscoBorges/master

Use schema to generate Java defaults class