RFE: Add a convenience method for the full set of types for a type
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia leggendo le API ResolvedType.getImplementedInterfaces() e TypeResolver.getParentClass() menzionate nella issue. Determina come dovrebbe essere raccolta la gerarchia completa per String.class, incluse le interfacce generiche, e considera il Set restituito atteso. Il lavoro è terminato quando l’API restituisce Object, Comparable, CharSequence, String e Serializable per quell’esempio, con test che coprano questo comportamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 Types.
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<ResolvedType> 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:
ObjectComparable<String>CharSequenceStringSerializable
- Lingua principale
- Java
- Stelle
- 266
- Fork
- 47
- Merge medio
- 1h 42m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FasterXML/java-classmate
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
FasterXML/java-classmate#111 · 10 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
FasterXML/java-classmate#81 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
FasterXML/java-classmate#76 · 6 commenti · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
FasterXML/java-classmate#72 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
FasterXML/java-classmate#69 · 22 commenti ·
Tutte le issue di FasterXML/java-classmate
Issue simili
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Apertaarea/plugin
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/rocketmq-dashboard#5064 ·