Valhalla reflection API - first stab (original) (raw)
Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Jun 15 17:19:34 UTC 2016
- Previous message (by thread): hg: valhalla/valhalla/jdk: Initial push for RuntimeMirror API
- Next message (by thread): Valhalla reflection API - first stab
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I've just pushed a new Valhalla-centric reflection API; the main goal of this API is to allow programmers to reflect over the contents of the new generic classfile, as well as to programmatically create class/method parameterizations and perform dynamic operations (method calls, field access). More information about this API can be found at in the javadoc of the root of the hierarchy - available here:
http://cr.openjdk.java.net/~mcimadamore/x-reflection/valhalla/reflect/runtime/RuntimeMirror.html
There's also a pretty comprehensive end to end test showcasing many of the API features:
Note: this is just an initial API round/prototype. As such we didn't put too much effort on things like naming conventions etc. and we focussed instead on the set of features we would like this new API to have.
We are obviously interested of any usability issue/bugs you encounter when using/learning this API!
Cheers Maurizio
- Previous message (by thread): hg: valhalla/valhalla/jdk: Initial push for RuntimeMirror API
- Next message (by thread): Valhalla reflection API - first stab
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]