add XMethod print method name