[Java] repaired expressions recognition