}
private void validate(FlowGraph graph) throws IOException {
assert graph != null;
ExternalIoAnalyzer analyzer = new ExternalIoAnalyzer(environment);
if (analyzer.validate(graph) == false) {
throw new IOException(MessageFormat.format(
"フローの入出力が正しくないため、コンパイルを中止します ({0})",
environment.getErrorMessage()));
}
}