According to guide method()
introduces an Object to store locals and sets the local's self
pointer to the target of the message.
Thus there is no slots from target but we can get them through self
:
Io> f := method(self getSlot("f"))
==> method(
self getSlot("f")
)
Io> f
==> method(
self getSlot("f")
)