code: public Object getName(String methodName) {
          if (getProxyBuilder().nameMappingClosure != null) {
              return getProxyBuilder().nameMappingClosure.call(methodName);
          }
          return methodName;
      }
docs: A hook to allow names to be converted into some other object such as a
  QName in XML or ObjectName in JMX.
  
  @param methodName the name of the desired method
  @return the object representing the name