SPR-10422 Updated the methodReference

MethodReference nodes we miss a method to get method name out of it(while there is a private member for the same)