code: public static <T extends TOP> List<T> selectAsList(final JCas jCas, final Class<T> type)
      {
          return new ArrayList<>(JCasUtil.select(jCas, type));
      }
docs: Convenience method that selects all feature structures of the given type and
  creates a list from them.
  
  @param jCas the JCas
  @return the list of all features structures of the given type in the JCas
  @see JCasUtil#select(JCas, Class)