jsrcdiff:一种用于比较两个Java源文件之间的基本AST差异的工具

上传者: 42168230 | 上传时间: 2023-10-16 16:52:13 | 文件大小: 26KB | 文件类型: ZIP
一种用于比较两个相似的Java源文件之间的一些基本AST差异的工具。 检测到的差异属于以下六类之一: AM:添加新方法 DM:删除方法 CM:更改方法的主体。 AF:添加一个字段 DF:删除字段 CFI:更改字段初始化程序的定义:i。 在没有字段的字段上添加初始化。 ii。 删除存在一个字段的初始化。 iii。 更改初始化表达式。 iv。 更改字段的修饰符(例如,将private更改为public )。 要将项目构建并安装到本地Maven存储库,请从包含pom.xml的目录中运行以下命令: $ mvn clean install 要在两个测试.java文件上运行Main类,请从包含pom.xml的目录中运行以下命令: mvn exec:java --quiet -Dexec.args="src/test/jsrcdiff/BasicsWithMethodBody.java sr

文件下载

资源详情

[{"title":"( 20 个子文件 26KB ) jsrcdiff:一种用于比较两个Java源文件之间的基本AST差异的工具","children":[{"title":"jsrcdiff-master","children":[{"title":"pom.xml <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"jsrcdiff","children":[{"title":"BasicsWithMethodBody-diff.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"Basics.java <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"BasicsWithMethodBody.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"me","children":[{"title":"dwtj","children":[{"title":"jsrcdiff","children":[{"title":"TestBasics.java <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"antlr4","children":[{"title":"org","children":[{"title":"antlr","children":[{"title":"grammarsv4","children":[{"title":"Java.g4 <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"me","children":[{"title":"dwtj","children":[{"title":"jsrcdiff","children":[{"title":"MethodMap.java <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"MapsBuilder.java <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"Util.java <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"FieldMap.java <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"Main.java <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"readme","children":[{"title":"definitions.tex <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"title.tex <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":"operations.tex <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"readme.tex <span style='color:#111;'> 895B </span>","children":null,"spread":false},{"title":"instructions.tex <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"appendix.tex <span style='color:#111;'> 581B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明