code: public List<T> getObjects() {
          ArrayList<T>objects = new ArrayList<>();
          Editable text = getText();
          if (hiddenContent != null) {
              text = hiddenContent;
          }
          for (TokenImageSpan span: text.getSpans(0, text.length(), TokenImageSpan.class)) {
              objects.add(span.getToken());
          }
          return objects;
      }
docs: Get the list of Tokens
  
  @return List of tokens