Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.968 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 303 | src/NHibernate/Mapping/Subclass.cs |
2 | 10 | 323 | src/NHibernate/Mapping/Subclass.cs |
| ||||
/// <summary> /// Add the <see cref="Property"/> to this PersistentClass. /// </summary> /// <param name="p">The <see cref="Property"/> to add.</param> /// <remarks> /// This also adds the <see cref="Property"/> to the Superclass' collection /// of SubclassType Properties. /// </remarks> public override void AddProperty(Property p) { base.AddProperty(p); Superclass.AddSubclassProperty(p); } public override void AddJoin(Join join) { base.AddJoin(join); Superclass.AddSubclassJoin(join); } |
| ||||
/// <summary> /// Adds a <see cref="Property"/> that is implemented by a subclass. /// </summary> /// <param name="p">The <see cref="Property"/> implemented by a subclass.</param> /// <remarks> /// This also adds the <see cref="Property"/> to the Superclass' collection /// of SubclassType Properties. /// </remarks> public override void AddSubclassProperty(Property p) { base.AddSubclassProperty(p); Superclass.AddSubclassProperty(p); } public override void AddSubclassJoin(Join join) { base.AddSubclassJoin(join); Superclass.AddSubclassJoin(join); } |
| |||
/// <summary> /// Adds a <see cref="Property"/> that is implemented by a subclass. /// Add the <see cref="Property"/> to this PersistentClass. /// </summary> /// <param name="p">The <see cref="Property"/> implemented by a subclass.</param> /// <param name="p">The <see cref="Property"/> to add.</param> /// <remarks> /// This also adds the <see cref="Property"/> to the Superclass' collection /// of SubclassType Properties. /// </remarks> public override void [[#variable287e0340]](Property p) { base. [[#variable287e0340]](p); Superclass.AddSubclassProperty(p); } public override void [[#variable287e03a0]](Join join) { base. [[#variable287e03a0]](join); Superclass.AddSubclassJoin(join); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#287e0340]] | AddSubclassProperty |
1 | 2 | [[#287e0340]] | AddProperty |
2 | 1 | [[#287e03a0]] | AddSubclassJoin |
2 | 2 | [[#287e03a0]] | AddJoin |