Fix bug that occurs when module name and inherited class name are same.
Fix bug that occurs when module name and inherited class name are same.

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv