docs: public void validatePublicVoidNoArg(boolean isStatic, List<Throwable> errors) {
          validatePublicVoid(isStatic, errors);
          if (method.getParameterTypes().length != 0) {
              errors.add(new Exception("Method " + method.getName() + " should have no parameters"));
          }
      }