@Override public <SEARCH_T extends Annotation> List<Feature> extract( JCas jCas, Annotation focusAnnotation, Bounds bounds, Class<SEARCH_T> annotationClass, FeatureExtractor1<SEARCH_T> extractor) throws CleartkExtractorException { List<Feature> features = new ArrayList<Feature>(); for (Feature feature : extractor.extract(jCas, annotationClass.cast(focusAnnotation))) { features.add(new ContextFeature(this.getName(), feature)); } return features; }