[ClassLoader] add deprecation message in class documentation