idea 查找未使用的代码

1、查找未使用的代码 输入:unused declaration 2、处理方法 未使用的类、方法的处理方式: Safe delete:删除。 Comment out:注释掉。 Add as Entry Point:添加为入口点(未用过)。 Suppress:添加注解@SuppressWarnings("unused")或@SuppressWarnings("ALL")
相关文章
相关标签/搜索