Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 2 | 1 | 0.993 | class_member_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 19 | 173 | src/NHibernate/Properties/BasicPropertyAccessor.cs |
2 | 19 | 269 | src/NHibernate/Properties/BasicPropertyAccessor.cs |
| ||||
private readonly PropertyInfo property; private readonly string propertyName; /// <summary> /// Initializes a new instance of <see cref="BasicGetter"/>. /// </summary> /// <param name="clazz">The <see cref="System.Type"/> that contains the Property <c>get</c>.</param> /// <param name="property">The <see cref="PropertyInfo"/> for reflection.</param> /// <param name="propertyName">The name of the Property.</param> public BasicGetter(System.Type clazz, PropertyInfo property, string propertyName) { this.clazz = clazz; this.property = property; this.propertyName = propertyName; } public PropertyInfo Property { get { return property; } } |
| ||||
private readonly PropertyInfo property; private readonly string propertyName; /// <summary> /// Initializes a new instance of <see cref="BasicSetter"/>. /// </summary> /// <param name="clazz">The <see cref="System.Type"/> that contains the Property <c>set</c>.</param> /// <param name="property">The <see cref="PropertyInfo"/> for reflection.</param> /// <param name="propertyName">The name of the mapped Property.</param> public BasicSetter(System.Type clazz, PropertyInfo property, string propertyName) { this.clazz = clazz; this.property = property; this.propertyName = propertyName; } public PropertyInfo Property { get { return property; } } |
| |||
private readonly PropertyInfo property; private readonly string propertyName; /// <summary> /// Initializes a new instance of <see cref="BasicSetter"/>. /// Initializes a new instance of <see cref="BasicGetter"/>. /// </summary> /// <param name="clazz">The <see cref="System.Type"/> that contains the Property <c>set</c>.</param> /// <param name="clazz">The <see cref="System.Type"/> that contains the Property <c>get</c>.</param> /// <param name="property">The <see cref="PropertyInfo"/> for reflection.</param> /// <param name="propertyName">The name of the mapped Property.</param> /// <param name="propertyName">The name of the Property.</param> public [[#variable294d1c00]](System.Type clazz, PropertyInfo property, string propertyName) { this.clazz = clazz; this.property = property; this.propertyName = propertyName; } public PropertyInfo Property { get { return property; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#294d1c00]] | BasicSetter |
1 | 2 | [[#294d1c00]] | BasicGetter |