(static compiler) add method documentation