I discovered this function in 0.6 (EDIT: which apparently existed in 0.5 as well) and it addresses a task I have come across a couple of times in the past. Often I would like to query the return type of a specific method (for which I know all the parameter types already) without executing it.
It seems to work perfectly, but I wonder if using it is discouraged for some reason. As far as I can tell from the documentation the one place explicitly discouraged is within generated functions.
Any other gotcha?