Hello,
I'm trying to inject some code into the ObjectFactory from the impl package.
I use the following code in my Plugin's run method:
for (PackageOutline po : outline.getAllPackageContexts()) {
JDefinedClass objectFactory = po.objectFactory();
}
Actually, Iterator always returns only one PackageOutline - for the interfaces package. My problem is that this objectFactory refers to the class in the interfaces package.
If I inject any code into this objectFactory it affects only the one from the interfaces package.
How can I access the ObjectFactory class from the implementation package ?
Thanks,
Michael