RFE for easy bytecode signatures
Paul Benedict
pbenedict at apache.org
Mon Jul 18 19:12:04 UTC 2016
I'd like to make a request. I haven't found any feature yet in the JDK
where one can take a reflective object and the JDK can hand back its
bytecode signature. There is some support for it in toString() methods, but
I don't find that ideal. I'd like to have a dedicated method that
understands scope and generics, too.
With the advent of Maurizio's new reflection API [1], I am eagerly
wondering if you can please add additional methods to return the signatures
behind any mirror/scope? Hopefully, it shouldn't be too hard, because there
is a ton of signature code already written (according to the commits I
follow). I imagine it could be lifted from the compiler and into the
reflective classes.
Thoughts please?
[1] http://cr.openjdk.java.net/~mcimadamore/x-reflection/index.html
Cheers,
Paul
More information about the valhalla-dev
mailing list