}
if (type == BusinessProcessEventType.START_ACTIVITY) {
return new Annotation[] {businessProcessQualifier, new StartActivityLiteral(activityId) };
}
if (type == BusinessProcessEventType.END_ACTIVITY) {
return new Annotation[] {businessProcessQualifier, new EndActivityLiteral(activityId) };
}
return new Annotation[] {};
}