There may be some cases where this is possible, e.g. when the type is defined in the same file where you invoke the macro, but in general case I would expect not.
This is because the type or symbol you are inspecting may come from already compiled classfiles. In such situation, the tree you are looking for simply does not exist.