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 摘要。