If you want to know what function something is resolved to, use RESOLVED_CALL, and then getCandidateDescriptor()