|
[
Permlink
| « Hide
]
Shay Banon added a comment - 12/Jun/08 08:53 AM
Can't you create the class based on the String and then pass it? This is what I would need to do in the purposed new method anyhow...
Not really. Te code metamodel being manipulated involves the creation of java source files, and therefore the class files are not there to be loaded.
Given that DefaultConverterLookup currently just calls class.getName() and consults its internal data strcutures using that name, the Class object itself isn't actually necessary. Make sense. I simply enhanced lookupConverter to support searching either by name or FQN of the class. Fixed for 2.0.1 and 2.1 M1.
|
|||||||||||||||||||||||||||||||||||||||