首页 > 其他 > 详细

STS清理

时间:2016-05-20 23:53:53      阅读:181      评论:0      收藏:0      [点我收藏+]

技术分享

图中插入代码如下,文件名随意最好见名知意

Add ‘this‘ qualifier to unqualified field accesses
Add ‘this‘ qualifier to unqualified method accesses
Qualify accesses to static fields with declaring class
Qualify accesses to static methods with declaring class
Change non static accesses to static members using declaring type
Change indirect accesses to static members to direct accesses (accesses through subtypes)
Convert control statement bodies to block
Use anonymous class creations
Remove unused imports
Add missing ‘@Override‘ annotations
Add missing ‘@Override‘ annotations to implementations of interface methods
Add missing ‘@Deprecated‘ annotations
Add missing serial version ID (default 1L)
Remove unnecessary ‘$NON-NLS$‘ tags
Add unimplemented methods
Organize imports
Format source code
Remove trailing white spaces on non empty lines

 

STS清理

原文:http://www.cnblogs.com/lusid/p/5513731.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!