if (sentries != null && !sentries.isEmpty()) {
SentryHandler handler = getSentryHandler();
for (Sentry sentry : sentries) {
handler.initializeOnParts(sentry, context);
// sentry fully transformed -> call transform listener
CmmnSentryDeclaration sentryDeclaration = context.getParent().getSentry(sentry.getId());
for (CmmnTransformListener transformListener : transformListeners) {
transformListener.transformSentry(sentry, sentryDeclaration);
}
}
}