Background: 最近为了重现tree-based clone detection的论文:L. Jiang, G. Misherghi, Z. Su, and S. Glondu. Deckard: Scalable and accurate tree-based detection of code clones. In Proceedings of ICSE, 2007. 需要对Java class中每个method构建AST,然后将AST转化成dot格式,最后转换成vector(这一步…