use of org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITTextAnnotation in project kie-wb-common by kiegroup.
the class NodeEntriesFactory method getTextAnnotations.
private List<JSITTextAnnotation> getTextAnnotations(final JSITDefinitions definitions) {
final List<JSITTextAnnotation> textAnnotations = new ArrayList<>();
final List<JSITArtifact> artifacts = definitions.getArtifact();
forEach(artifacts, artifact -> {
if (JSITTextAnnotation.instanceOf(artifact)) {
final JSITTextAnnotation annotation = Js.uncheckedCast(artifact);
textAnnotations.add(annotation);
}
});
return textAnnotations;
}
Aggregations