Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.969 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 45 | src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs |
2 | 3 | 50 | src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs |
| ||||
if ( !ReflectHelper.OverridesEquals(compIdClass)) throw new MappingException( "composite-id class must override Equals(): " + compIdClass.FullName); |
| ||||
if ( !ReflectHelper.OverridesGetHashCode(compIdClass)) throw new MappingException( "composite-id class must override GetHashCode(): " + compIdClass.FullName); |
| |||
if ( !ReflectHelper. [[#variable5e8e7320]](compIdClass)) throw new MappingException( [[#variable5e8e7300]]+ compIdClass.FullName); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e8e7320]] | OverridesEquals |
1 | 2 | [[#5e8e7320]] | OverridesGetHashCode |
2 | 1 | [[#5e8e7300]] | "composite-id class must override Equals(): " |
2 | 2 | [[#5e8e7300]] | "composite-id class must override GetHashCode(): " |