Package com.google.collide.dto

Examples of com.google.collide.dto.TypeAssociation


    {
      CodeBlock fileBlock = createCodeBlock("0", "/foo.js", CodeBlock.Type.FILE, 0, 0, 10, 0);
      CodeBlock foo = createCodeBlock(fileBlock, "1", "foo", CodeBlock.Type.FIELD, 0, 0, 1, 0);
      CodeBlock bar = createCodeBlock(fileBlock, "2", "bar", CodeBlock.Type.FIELD, 1, 0, 2, 0);
      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());
    }
View Full Code Here

TOP

Related Classes of com.google.collide.dto.TypeAssociation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.