code: public static WebArgumentMetadata get(final JCas jCas)
      {
          FSIterator<FeatureStructure> iterator = jCas.getCas().getIndexRepository().getAllIndexedFS(
                  CasUtil.getType(jCas.getCas(), WebArgumentMetadata.class));
  
          if (!iterator.hasNext()) {
              throw new IllegalArgumentException(new Throwable("CAS does not contain any "
                      + WebArgumentMetadata.class.getName()));
          }
  
          WebArgumentMetadata result = (WebArgumentMetadata) iterator.next();
  
          if (iterator.hasNext()) {
              throw new IllegalArgumentException(new Throwable("CAS contains more than one "
                      + WebArgumentMetadata.class.getName()));
          }
  
          return result;
      }
docs: Get the {@link org.dkpro.argumentation.types.WebArgumentMetadata} from the JCas.
  
  @throws IllegalArgumentException if no {@link DocumentMetaData} exists in the jCas