TreebankGoldAnnotator extends JCasAnnotator_ImplBase { @Override public void initialize(UimaContext context) throws ResourceInitializationException { super.initialize(context); }  static AnalysisEngineDescription getDescription(); static AnalysisEngineDescription getDescriptionPOSTagsOnly(); @Override void initialize(UimaContext context); @Override void process(JCas jCas); static final String PARAM_POST_TREES; }
@Test public void testInitialize() throws ResourceInitializationException { AnalysisEngineFactory.createEngine( TreebankGoldAnnotator.class, TreebankGoldAnnotator.PARAM_POST_TREES, true); }