[Java] Class InputHandler.overwrite