FasterXML / FasterXML/java-classmate

RFE: Add a convenience method for the full set of types for a type

未关闭
#50 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue hacktoberfest
主要语言
Java
星标
266
派生
47
平均合并
1 小时 42 分钟
30 天内合并 PR
1

描述

Thanks for a great project!

It would be helpful if there were a method on `ResolvedType` that could provide a `List` or `Set` of all implemented and extended `Type`s.

I know that `ResolvedType` has `getImplementedInterfaces()`. And I know that `TypeResolver` has `getParentClass()`. It would be nice if there were a method like `public Set getAllTypes()` or something of that nature implemented in terms of the other two.

I would expect, for example, that if it were passed `String.class` the returned set would include types representing:
* `Object`
* `Comparable`
* `CharSequence`
* `String`
* `Serializable`

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。