util: improve prototype inspection using inspect() and showHidden
#31113
+28
−13
inspect() and showHidden
#31113