code: public void processAnnotations(Class<?> cl) {
      for (Field field : cl.getFields()) {
        processField(field);
      }
  
      for (Method method : cl.getMethods()) {
        processMethod(method);
      }
    }
docs: Processes <code>CommandArgument</code> and <code>OptionArgument</code>
  annotations and creates adds the corresponding commands or options to
  this <code>ArgumentProcessor</code> for setting fields or calling
  methods.
  @param cl The <code>Class</code> whose fields and methods are to be
  processed.