fixed java interOp for grammar