Hi again, Would it be possible to add some shortcuts to the classes? Working directly with the objects is sometimes a bit talkative.
EXAMPLE 1: clasz.getAnnotationsAndModifiers().add(modifier); BETTER: clasz.add(modifier); This would be the same for all classes that have a list with childs and it's possible to add new ones. EXAMPLE 2: Class clasz = classifiersFactory.createClass(); clasz.setName(name); clasz.getAnnotationsAndModifiers().add(ModifiersFactory.eINSTANCE.createPublic()); BETTER: Class clasz = classifiersFactory.createClass(name).makePublic(); At least all "make*" methods should return "this" to use a kind of builder pattern. Cheers, Michael _______________________________________________ emftext-users mailing list [email protected] http://mail-st.inf.tu-dresden.de/cgi-bin/mailman/listinfo/emftext-users
