generate doc, no arguments constructor for BaseMethod