String shortName = base.fullName().substring(base.fullName().indexOf(pkg)+pkg.length()+1); if (cc.target.shortName.equals(shortName)) { getErrorReceiver().error(cc.target.getLocator(), Messages.ERR_KEYNAME_COLLISION.format(shortName));
String shortName = base.fullName().substring(base.fullName().indexOf(pkg)+pkg.length()+1); if (cc.target.shortName.equals(shortName)) { getErrorReceiver().error(cc.target.getLocator(), Messages.ERR_KEYNAME_COLLISION.format(shortName));
String shortName = base.fullName().substring(base.fullName().indexOf(pkg)+pkg.length()+1); if (cc.target.shortName.equals(shortName)) { getErrorReceiver().error(cc.target.getLocator(), Messages.ERR_KEYNAME_COLLISION.format(shortName));
ClassOutlineImpl existing = valueFactoryNames.put(name,cc); if( existing!=null ) { outline.getErrorReceiver().error(existing.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(name)); outline.getErrorReceiver().error(cc.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return; CPropertyInfo field = cc.target.getProperty(fieldName); if(field==null) { outline.getErrorReceiver().error(cc.target.getLocator(), Messages.ILLEGAL_CONSTRUCTOR_PARAM.format(fieldName)); continue;
ClassOutlineImpl existing = valueFactoryNames.put(name,cc); if( existing!=null ) { outline.getErrorReceiver().error(existing.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(name)); outline.getErrorReceiver().error(cc.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return; CPropertyInfo field = cc.target.getProperty(fieldName); if(field==null) { outline.getErrorReceiver().error(cc.target.getLocator(), Messages.ILLEGAL_CONSTRUCTOR_PARAM.format(fieldName)); continue;
ClassOutlineImpl existing = valueFactoryNames.put(name,cc); if( existing!=null ) { outline.getErrorReceiver().error(existing.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(name)); outline.getErrorReceiver().error(cc.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return; CPropertyInfo field = cc.target.getProperty(fieldName); if(field==null) { outline.getErrorReceiver().error(cc.target.getLocator(), Messages.ILLEGAL_CONSTRUCTOR_PARAM.format(fieldName)); continue;
ClassOutlineImpl existing = valueFactoryNames.put(name,cc); if( existing!=null ) { outline.getErrorReceiver().error(existing.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(name)); outline.getErrorReceiver().error(cc.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return; CPropertyInfo field = cc.target.getProperty(fieldName); if(field==null) { outline.getErrorReceiver().error(cc.target.getLocator(), Messages.ILLEGAL_CONSTRUCTOR_PARAM.format(fieldName)); continue;
ClassOutlineImpl existing = valueFactoryNames.put(name,cc); if( existing!=null ) { outline.getErrorReceiver().error(existing.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(name)); outline.getErrorReceiver().error(cc.target.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return; CPropertyInfo field = cc.target.getProperty(fieldName); if(field==null) { outline.getErrorReceiver().error(cc.target.getLocator(), Messages.ILLEGAL_CONSTRUCTOR_PARAM.format(fieldName)); continue;
outline.getErrorReceiver().error(existing.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(ei.getSqueezedName())); outline.getErrorReceiver().error(ei.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return;
outline.getErrorReceiver().error(existing.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(ei.getSqueezedName())); outline.getErrorReceiver().error(ei.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return;
outline.getErrorReceiver().error(existing.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(ei.getSqueezedName())); outline.getErrorReceiver().error(ei.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return;
outline.getErrorReceiver().error(existing.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(ei.getSqueezedName())); outline.getErrorReceiver().error(ei.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return;
outline.getErrorReceiver().error(existing.getLocator(), Messages.OBJECT_FACTORY_CONFLICT.format(ei.getSqueezedName())); outline.getErrorReceiver().error(ei.getLocator(), Messages.OBJECT_FACTORY_CONFLICT_RELATED.format()); return;
getErrorReceiver().error( e.getLocator(), Messages.ERR_UNUSABLE_NAME.format(mem.getLexicalValue(), constName ) ); getErrorReceiver().error( e.getLocator(), Messages.ERR_NAME_COLLISION.format(constName));
getErrorReceiver().error( e.getLocator(), Messages.ERR_UNUSABLE_NAME.format(mem.getLexicalValue(), constName ) ); getErrorReceiver().error( e.getLocator(), Messages.ERR_NAME_COLLISION.format(constName));
getErrorReceiver().error(e.getLocator(), Messages.ERR_UNUSABLE_NAME.format(mem.getLexicalValue(), constName)); getErrorReceiver().error(e.getLocator(), Messages.ERR_NAME_COLLISION.format(constName));
getErrorReceiver().error(e.getLocator(), Messages.ERR_UNUSABLE_NAME.format(mem.getLexicalValue(), constName)); getErrorReceiver().error(e.getLocator(), Messages.ERR_NAME_COLLISION.format(constName));
getErrorReceiver().error(e.getLocator(), Messages.ERR_UNUSABLE_NAME.format(mem.getLexicalValue(), constName)); getErrorReceiver().error(e.getLocator(), Messages.ERR_NAME_COLLISION.format(constName));