dstDecl = dstGrammar.getGlobalGroupDecl(srcDecl.getName()); if (dstDecl == null) { dstGrammar.addGlobalGroupDecl(srcDecl); dstDecl = dstGrammar.getGlobalGroupDecl(name, location); if (dstDecl == null) { dstGrammar.addGlobalGroupDecl(srcDecl, location);
grammar.addGlobalGroupDecl(group); final XSGroupDecl group2 = grammar.getGlobalGroupDecl(group.fName, loc); if (group2 == null) { grammar.addGlobalGroupDecl(group, loc);
case XSConstants.MODEL_GROUP_DEFINITION : if (sg.getGlobalGroupDecl(name) == null) { sg.addGlobalGroupDecl((XSGroupDecl) component); sg.addGlobalGroupDecl((XSGroupDecl) component, "");
XSGroupDecl decl = (XSGroupDecl) map.item(i); if (cachedGrammar.getGlobalGroupDecl(decl.getName()) == null) { cachedGrammar.addGlobalGroupDecl(decl);