code: @SuppressWarnings("rawtypes")
      private String[] getAnnotationsAsStringArray(Class[] classes) {
          if (null == classes) {
              return null;
          }
  
          List<String> ret = new ArrayList<String>();
  
          for (Class c : classes) {
              ret.add(c.getName());
          }
  
          return ret.toArray(new String[ret.size()]);
      }
docs: convert an array of classes to an array of strings to be usable in js context.
  
  @param classes
  @return