Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 2 | 0.979 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 31 | src/NHibernate/Cfg/XmlHbmBinding/JoinedSubclassBinder.cs |
2 | 6 | 31 | src/NHibernate/Cfg/XmlHbmBinding/SubclassBinder.cs |
3 | 6 | 30 | src/NHibernate/Cfg/XmlHbmBinding/UnionSubclassBinder.cs |
| ||||
BindClass(subnode, null, subclass, inheritedMetas); inheritedMetas = GetMetas(subnode.SelectNodes(HbmConstants.nsMeta, namespaceManager), inheritedMetas, true); // get meta's from <joined-subclass> // joined subclass if (subclass.EntityPersisterClass == null) subclass.RootClazz.EntityPersisterClass = typeof(JoinedSubclassEntityPersister); |
| ||||
BindClass(subnode, null, subclass, inheritedMetas); inheritedMetas = GetMetas(subnode.SelectNodes(HbmConstants.nsMeta, namespaceManager), inheritedMetas, true); // get meta's from <subclass> if (subclass.EntityPersisterClass == null) subclass.RootClazz.EntityPersisterClass = typeof(SingleTableEntityPersister); |
| ||||
BindClass(subnode, null, unionSubclass, inheritedMetas); inheritedMetas = GetMetas(subnode.SelectNodes(HbmConstants.nsMeta, namespaceManager), inheritedMetas, true); // get meta's from <union-subclass> // union subclass if (unionSubclass.EntityPersisterClass == null) unionSubclass.RootClazz.EntityPersisterClass = typeof(UnionSubclassEntityPersister); |
| |||
BindClass(subnode, null, [[#variable56f86e20]], inheritedMetas); inheritedMetas = GetMetas(subnode.SelectNodes(HbmConstants.nsMeta, namespaceManager), inheritedMetas, true); // get meta's from <subclass> // get meta's from <union-subclass> // get meta's from <joined-subclass> // union subclass // joined subclass if ( [[#variable56f86e20]].EntityPersisterClass == null) [[#variable56f86e20]].RootClazz.EntityPersisterClass = typeof( [[#variable56b05480]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56f86e20]] | subclass |
1 | 2 | [[#56f86e20]] | unionSubclass |
1 | 3 | [[#56f86e20]] | subclass |
2 | 1 | [[#56b05480]] | SingleTableEntityPersister |
2 | 2 | [[#56b05480]] | UnionSubclassEntityPersister |
2 | 3 | [[#56b05480]] | JoinedSubclassEntityPersister |