[java] fix unary operators on array items (a[0]++)