docs: private static Method getMethod(Object source, String methodName, String name) {
          try {
              Method method = source.getClass().getMethod(methodName);
              method.setAccessible(true);
              return method;
          } catch (Exception e) {
              if (LOGGER.isFinestEnabled()) {
                  LOGGER.log(Level.FINEST,
                          "Unable to register OperatingSystemMXBean method " + methodName + " used for probe " + name, e);
              }
              return null;
          }
      }