FasterXML / FasterXML/java-classmate

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

オープン
#50 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue hacktoberfest
主要言語
Java
スター
266
フォーク
47
平均マージ
1時間 42分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。