private <T extends FlowNode> T createTarget(Class<T> typeClass) {
return createTarget(typeClass, null);
}
private <T extends FlowNode> T createTarget(Class<T> typeClass, String identifier) {
T target = createSibling(typeClass, identifier);
<BUG>connectTarget(target);
return target;</BUG>
}
public ServiceTaskBuilder serviceTask() {
return createTarget(ServiceTask.class).builder();

private <T extends FlowNode> T createTarget(Class<T> typeClass) {
return createTarget(typeClass, null);
}
private <T extends FlowNode> T createTarget(Class<T> typeClass, String identifier) {
T target = createSibling(typeClass, identifier);
connectTarget(target);
createBpmnShape(target);
return target;
}
public ServiceTaskBuilder serviceTask() {
return createTarget(ServiceTask.class).builder();
