[Java] Add CheckStyle configuration