code: protected static String invokeAndGetString(String methodName, Object mojo) throws Exception {
          return (String) invokeGetMethod(methodName, mojo);
      }
docs: Gets String field value from the given mojo based on the given method
  name.