s/$method/$class in getClassDoc