support java syntax