private void prepare(Project project) {
context.project = project;
context.typeSet = new TypeSet();
context.main = true;
Graph graph = project.getGraph();
graph.addSpecialMethod(TYPE_INFERENCE_METHOD_NAME, typeInferenceMethod);
graph.addSpecialMethod("require", requireMethod);
graph.addSpecialMethod("require_next", requireNextMethod);
graph.setNodeDiff(new NodeDiffForTypeInference());
require(project, "_builtin", "UTF-8");
}