code: public <T> T get(int index) {
          if (size() <= index) {
              return null;
          }
          return (T) args.get(index);
      }
docs: "index out of bounds"-safe method for getting elements
  
  @param <T> type of argument
  @param index to get
  @return argument