NewGetRootResourceReference returns a NewMethod that writes a GetRootResourceReference method for the supplied Object to the supplied file.
(receiver, runtime string)
source not stored for this graph (policy: none)