Replace "_" to "__" when escaping Java names.