createCodeBlock(fileBlock, "3", "bar.doThis", CodeBlock.Type.FUNCTION, 1, 10, 2, 0);
TypeAssociation typeLink = createTypeAssociation(fileBlock, foo, fileBlock, bar);
CodeGraphImpl codeGraph = createCodeGraph(fileBlock);
codeGraph.setTypeAssociations(JsoArray.<TypeAssociation>from(typeLink));
response.setFullGraphJson(codeGraph.serialize());
}
{
CodeBlockImpl freshFileBlock = createCodeBlock(
"1", "/foo.js", CodeBlock.Type.FILE, 0, 0, 10, 0);
createCodeBlock(freshFileBlock, "1", "foo", CodeBlock.Type.FIELD, 0, 0, 1, 0);