func (self *Thread) _logInvoke(stackSize uint, method *heap.Method) { space := strings.Repeat(" ", int(stackSize)) className := method.Class().Name() methodName := method.Name() if method.IsStatic() { fmt.Printf("[method]%v thread:%p %v.%v()\n", space, self, className, methodName) } else { fmt.Printf("[method]%v thread:%p %v#%v()\n", space, self, className, methodName) } }