docs: public static Map<String, Method> getGetters(final Class< ? > clazz)
      {
          final Map<String, Method> accessors = new HashMap<>();
          final Method[] methods = clazz.getMethods();
  
          for (Method method : methods)
          {
              String name = null;
              String methodName = method.getName();
  
              if (methodName.startsWith("get"))
              {
                  name = methodName.substring(3);
              }
              else if (methodName.startsWith("is"))
              {
                  name = methodName.substring(2);
              }
  
              if (name == null || name.length() == 0)
              {
                  continue;
              }
  
              // skip methods with != 0 parameters
              if (method.getParameterTypes().length != 0)
              {
                  continue;
              }
  
              accessors.put(name.toLowerCase(Locale.ENGLISH), method);
          }
  
          return accessors;
      }