Add java specific constructs