|
The basics of this are pretty much done hooked in. At this point still to do:
-
Handle declared versus non-declared fields and methods
-
Hook up Jandex to supply annotation info
-
Figure out the best way to deal with generics (related to first)
-
Singularity for resolving to Java Class references.
The last one is critical. Basically we need to know when we are done building the binding model, and allow a better way for consumers of the binding model to resolve a JavaTypeDescriptor to its correspondng Java Class reference. I think its better to not expose this through the reflite objects to avoid unintended premature access to the Class.
Maybe a method on the JavaTypeDescriptorRepository to resolve a JavaTypeDescriptor to its correspondng Java Class. We could protect this with a switch that we flip when we are done with binding. Before that, calls to do the resolve throw an exception. ??
|