exposing code to initialize instance/static fields to scwala