文件名称:sourceParserDemo

  • 所属分类:
  • JSP源码/Java
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 1.55mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • jinbi*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

1. 识别java源码的语法结构,生成结点类型为具体源码成份的结点树。



2. 解析Java源码并从指定的方法入口处开始执行,在执行的过程中可以执行外部插入的执行逻辑。类似于AOP,但所截获的目标可以是方法也可以是任意细粒度的代码。



3. 解析Java源码并从指定的方法入口处开始执行,在执行过程中对不合理的代码进行预警。预警功能是我兴趣所在,亦将得到大力加强。



4. 静态处理:



① 对源码进行合法性检查,以保证其符合具体项目中的要求。类似于Java代码缺陷自动分析工具“Findbugs”.



② 执行某些复杂的重构任务,如将数组改为java.util.List,改变方法调用中的参数秩序,如将方法count(int a, String b)改写为count(String b, int a)。-A. Identify the grammatical structure of the Java source generated node type for the composition of the specific source node tree. 2 parse Java source code and start from the specified method at the entrance to the execution logic in the process of implementation can be performed externally inserted. Similar to the AOP, but intercepted by the target can be arbitrarily fine-grained code. 3 parsing Java source code and start from the entrance to the method specified warning unreasonable code in the implementation process. The early warning function is my interest, and will be significantly strengthened. 4 static processing: ① check the legality of the source code, to ensure that they meet specific project requirements. Similar to the Java code defect automatic analysis tools Findbugs. " ② perform the complex task of reconstruction, such as the array to be changed of java.util.List, change the parameter order in the method call, method count (int a, a String b) be rewritten as count (
(系统自动生成,下载前可以参看下载内容)

下载文件列表

sourceParserDemo\.classpath

................\.project

................\.settings\org.eclipse.core.resources.prefs

................\bin\bugsfind\bean\A.class

................\...\........\....\Bean0.class

................\...\........\....\BlockBean.class

................\...\........\....\ClassBean.class

................\...\........\....\ClassBeanArray$1.class

................\...\........\....\ClassBeanArray.class

................\...\........\....\ClassBeanSuper$1.class

................\...\........\....\ClassBeanSuper.class

................\...\........\....\ClauseBean.class

................\...\........\....\ConstructorBean.class

................\...\........\....\DoWhileBean.class

................\...\........\....\ExpBean.class

................\...\........\....\FileBean.class

................\...\........\....\FlowBean.class

................\...\........\....\FlowControl.class

................\...\........\....\ForBean$1.class

................\...\........\....\ForBean.class

................\...\........\....\IfElseBean.class

................\...\........\....\InterfaceBean.class

................\...\........\....\MethodBean.class

................\...\........\....\ObjectBean.class

................\...\........\....\ObjectBeanArray.class

................\...\........\....\ProjectBean.class

................\...\........\....\SRCBean0.class

................\...\........\....\SwitchBean.class

................\...\........\....\VarDefineBean.class

................\...\........\....\WhileBean.class

................\...\........\....\_index.class

................\...\........\....\_SourceBeans$1.class

................\...\........\....\_SourceBeans$10.class

................\...\........\....\_SourceBeans$11.class

................\...\........\....\_SourceBeans$12.class

................\...\........\....\_SourceBeans$13.class

................\...\........\....\_SourceBeans$14.class

................\...\........\....\_SourceBeans$15.class

................\...\........\....\_SourceBeans$2.class

................\...\........\....\_SourceBeans$3.class

................\...\........\....\_SourceBeans$4.class

................\...\........\....\_SourceBeans$5.class

................\...\........\....\_SourceBeans$6.class

................\...\........\....\_SourceBeans$7.class

................\...\........\....\_SourceBeans$8.class

................\...\........\....\_SourceBeans$9.class

................\...\........\....\_SourceBeans$Creator.class

................\...\........\....\_SourceBeans.class

................\...\........\demo\TestCase_all.class

................\...\........\....\TestCase_typical.class

................\...\........\exp\ExpNodeSplitor$1.class

................\...\........\...\ExpNodeSplitor$2.class

................\...\........\...\ExpNodeSplitor$3.class

................\...\........\...\ExpNodeSplitor$4.class

................\...\........\...\ExpNodeSplitor.class

................\...\........\...\OperatorsJ.class

................\...\........\...\OperatorsJHelper$1.class

................\...\........\...\OperatorsJHelper$10.class

................\...\........\...\OperatorsJHelper$11.class

................\...\........\...\OperatorsJHelper$12.class

................\...\........\...\OperatorsJHelper$13.class

................\...\........\...\OperatorsJHelper$14.class

................\...\........\...\OperatorsJHelper$15.class

................\...\........\...\OperatorsJHelper$16.class

................\...\........\...\OperatorsJHelper$17.class

................\...\........\...\OperatorsJHelper$18.class

................\...\........\...\OperatorsJHelper$19.class

................\...\........\...\OperatorsJHelper$2.class

................\...\........\...\OperatorsJHelper$20.class

................\...\........\...\OperatorsJHelper$21.class

................\...\........\...\OperatorsJHelper$22.class

................\...\........\...\OperatorsJHelper$23.class

................\...\........\...\OperatorsJHelper$24.class

................\...\........\...\OperatorsJHelper$25.class

................\...\........\...\O

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org