code: public List<CliArgumentContainer> getArguments(CliModeObject mode) {
  
      List<CliArgumentContainer> result = new ArrayList<>();
      for (CliArgumentContainer argumentContainer : this.arguments) {
        String argumentModeId = argumentContainer.getArgument().mode();
        CliModeObject argumentMode = getMode(argumentModeId);
        if ((argumentMode == mode) || argumentMode.isAncestorOf(mode)) {
          result.add(argumentContainer);
        }
      }
      return result;
    }
docs: This method gets the {@link List} of {@link CliArgumentContainer CLI-arguments} for the given {@link CliModeObject
  mode}.
  
  @param mode is the according {@link CliModeContainer mode}.
  @return the arguments.