FasterXML / FasterXML/java-classmate
RFE: Add a convenience method for the full set of types for a type
- Ngôn ngữ chính
- Java
- Star
- 266
- Fork
- 47
- Merge trung bình
- 1 giờ 42 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.