Exemple #1
0
 @Override
 public void execute(
     RuleMatch match, RuleElement element, RutaStream stream, InferenceCrowd crowd) {
   List<AnnotationFS> matchedAnnotationsOf = match.getMatchedAnnotationsOf(element);
   for (AnnotationFS annotationFS : matchedAnnotationsOf) {
     List<RutaBasic> basicsInWindow = stream.getBasicsInWindow(annotationFS);
     for (RutaBasic basic : basicsInWindow) {
       basic.setReplacement("");
     }
   }
 }