- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
Collection<Annotation> exportAnnotations = new ArrayList<Annotation>(participant.getInteractor().getAnnotations()); exportAnnotations.removeAll(noExportAnnotations); Collection<Annotation> noExportAnnotations2 = AnnotationUtils.collectAllAnnotationsHavingTopic(participant.getAnnotations(), null, "no-export"); Collection<Annotation> exportAnnotations2 = new ArrayList<Annotation>(participant.getAnnotations()); exportAnnotations2.removeAll(noExportAnnotations2);
target.getAnnotations().clear(); target.getAnnotations().addAll(source.getAnnotations()); target.getConfidences().clear(); target.getConfidences().addAll(source.getConfidences());
for (Annotation a : p.getAnnotations()){ checkAnnotation(messages, a, p, "participant");