javac's allparams(): returns type arguments, yes?

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Jun 19 22:47:15 UTC 2023


>
> (I think you have "former" and "latter" confused here? allparams "will 
> recurse up to the outermost generic type…", yes? And 
> "getTypeArguments" "returns the type arguments of the generic class 
> type…it is called on"?

Yes!

Maurizio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20230619/456774e4/attachment-0001.htm>


More information about the compiler-dev mailing list