* @param attributes インライン化する際のバイパス要素に付与する属性
     * @throws IllegalArgumentException 引数に{@code null}が指定された場合
     */
    public static void inlineFlowPart(FlowElement element, FlowElementAttribute... attributes) {
        Precondition.checkMustNotBeNull(element, "element"); //$NON-NLS-1$
        FlowElementDescription description = element.getDescription();
        if (description.getKind() != FlowElementKind.FLOW_COMPONENT) {
            throw new IllegalArgumentException("element must be a flow component"); //$NON-NLS-1$
        }
        FlowPartDescription component = (FlowPartDescription) description;
        FlowGraph graph = component.getFlowGraph();