查找 Eclipse 项目中使用的未使用的 jar [英] Finding unused jars used in an eclipse project

查看:46
本文介绍了查找 Eclipse 项目中使用的未使用的 jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何插件/工具可用于通过 Eclipse 项目(或工作区)的类路径并突出显示任何未使用的 jars?

Are there any plugins/tools available to go through the classpath of an eclipse project (or workspace) and highlight any unused jars?

推荐答案

ClassPathHelper 是一个好的开始.

它会自动识别孤儿罐子等等.

It automatically identifies orphan jars and much more.

唯一的限制是没有在类中定义的依赖项,例如在依赖注入框架配置文件中.

The only limitation is with dependencies that are not defined in classes, e.g. in dependency injection framework configuration files.

您还有其他选项/补充,例如:

You also have other options/complements, such as:

  • workingfrog "Relief",它依赖于通过检查它们的形状、大小或在空间中的相对位置来处理真实对象的能力,它提供了对 Java 包、类型和字段及其关系的物理"视图,使它们更容易处理.
  • Unnecessary Code Detector:Eclipse 插件工具,用于查找不必要的(死的)公共 Java 代码.
  • workingfrog "Relief", which relies on the ability to deal with real objects by examining their shape, size or relative place in space it gives a "physical" view on java packages, types and fields and their relationships, making them easier to handle.
  • Unnecessary Code Detector: a eclipse PlugIn tool to find unnecessary (dead) public java code.

这篇关于查找 Eclipse 项目中使用的未使用的 jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆