code: public CmsFileInfo[] getFiles() {
  
          JsArray<CmsFileInfo> files = m_impl.getFiles(m_inputElement);
          CmsFileInfo[] result = new CmsFileInfo[files.length()];
          for (int i = 0; i < files.length(); ++i) {
              result[i] = files.get(i);
          }
          return result;
      }
docs: Returns an array of CmsFile objects.<p>
  
  @return an array of CmsFile objects