FasterXML / FasterXML/java-classmate

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

Ouverte
#50 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
good first issue hacktoberfest
Langage dominant
Java
Étoiles
266
Forks
47
Merge moyen
1 h 42 min
PR mergées (30 j)
1

Description

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`

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.