add Java hooks - tab width related