idea 查找未使用的代碼

1、查找未使用的代碼 輸入:unused declaration 2、處理方法 未使用的類、方法的處理方式: Safe delete:刪除。 Comment out:註釋掉。 Add as Entry Point:添加爲入口點(未用過)。 Suppress:添加註解@SuppressWarnings("unused")或@SuppressWarnings("ALL")
相關文章
相關標籤/搜索