码迷,mamicode.com
首页 > 其他好文 > 详细

STS清理

时间:2016-05-20 23:55:45      阅读:455      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!