如何在 Eclipse 中获取类型(接口/类/枚举)中的方法计数? [英] How to get method count in a type (interface/class/enum) in Eclipse?

查看:18
本文介绍了如何在 Eclipse 中获取类型(接口/类/枚举)中的方法计数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道一个接口声明了多少个方法或者一个类/枚举实现了多少个方法.如何在 Eclipse 中获得它?

解决方案

插件(另一个)也提供类似的指标(每个类的加权方法)

I want to know how many methods an interface declares or a class/enum implements. How to get that in Eclipse?

解决方案

A plugin like metrics could give you that:


The eclipse-metrics plugin (another one) provided also a similar metric (Weighted Methods per Class)

这篇关于如何在 Eclipse 中获取类型(接口/类/枚举)中的方法计数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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