[RH][82692440] don't typehint with private inner class.

This change will allow 1.5 to compile with java 8.