[#1440] handle adapters in mark-generated plugin (w/ refacto)#1902
[#1440] handle adapters in mark-generated plugin (w/ refacto)#1902laurentschoelens wants to merge 1 commit intomasterfrom
Conversation
lukasj
left a comment
There was a problem hiding this comment.
well, this is better, yet I see no reason, why the PackageOutline couldn't have the adapters() method to make the life for plugin authors easier - there is already objectFacory() method.
Note that PackageOutline is XJC specific model, so adapters method makes sense there, while JCodeModel is - sort of - 3rd party library and as such has no knowledge about types it generates or about their purpose, so putting the method there is wrong
Adding the |
Well after digging more into this, I can't find a way to access |
13b52a2 to
2154ba2
Compare
2154ba2 to
8a3e7a9
Compare
|
@lukasj : added also |
Fixes #1440
Also add
JModuleas handled bymark-generatedpluginNew implementation that doesn't add extra properties on Outline / Model
Added test case too