Hi all, I hope you can help me.
If I create a new class like:
CodeModelClassFactory classFactory = outline.getClassFactory();
coordinateClass = classFactory.createClass(kmlpackage, JMod.PUBLIC,
"Coordinate", null, ClassType.CLASS);
// other class related stuff
the class doesn’t show up, if I iterate over the getClasses-collection:
for (final ClassOutline classOutline : outline.getClasses()) {
createHashCodeAndEqualsMethod((ClassOutlineImpl) classOutline);
LOG.info("---------> " + classOutline.implClass.fullName());
}
Could you tell me, what’s the proper way, to add a new class in a JAXB
plugin and to process the created class later (in the same plugin)?
regards
Flori