Consider a cglib proxy for a class name NestedCglibConfiguration$$SpringCGLIB$$0. The class name used for the hints is going to be NestedCglibConfiguration..SpringCGLIB..0
We need to revisit the logic so that it only replaces the $ at the right place (i.e. separator for inner class).