Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 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 | 15 | 157 | src/NHibernate/Properties/FieldAccessor.cs |
2 | 15 | 241 | src/NHibernate/Properties/FieldAccessor.cs |
| ||||
private readonly FieldInfo field; private readonly System.Type clazz; private readonly string name; /// <summary> /// Initializes a new instance of <see cref="FieldGetter"/>. /// </summary> /// <param name="clazz">The <see cref="System.Type"/> that contains the field to use for the Property <c>get</c>.</param> /// <param name="field">The <see cref="FieldInfo"/> for reflection.</param> /// <param name="name">The name of the Field.</param> public FieldGetter(FieldInfo field, System.Type clazz, string name) { this.field = field; this.clazz = clazz; this.name = name; } |
| ||||
private readonly FieldInfo field; private readonly System.Type clazz; private readonly string name; /// <summary> /// Initializes a new instance of <see cref="FieldSetter"/>. /// </summary> /// <param name="clazz">The <see cref="System.Type"/> that contains the Field to use for the Property <c>set</c>.</param> /// <param name="field">The <see cref="FieldInfo"/> for reflection.</param> /// <param name="name">The name of the Field.</param> public FieldSetter(FieldInfo field, System.Type clazz, string name) { this.field = field; this.clazz = clazz; this.name = name; } |
| |||
private readonly FieldInfo field; private readonly System.Type clazz; private readonly string name; /// <summary> /// Initializes a new instance of <see cref="FieldSetter"/>. /// Initializes a new instance of <see cref="FieldGetter"/>. /// </summary> /// <param name="clazz">The <see cref="System.Type"/> that contains the Field to use for the Property <c>set</c>.</param> /// <param name="clazz">The <see cref="System.Type"/> that contains the field to use for the Property <c>get</c>.</param> /// <param name="field">The <see cref="FieldInfo"/> for reflection.</param> /// <param name="name">The name of the Field.</param> public [[#variable4c86fb80]](FieldInfo field, System.Type clazz, string name) { this.field = field; this.clazz = clazz; this.name = name; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4c86fb80]] | FieldSetter |
1 | 2 | [[#4c86fb80]] | FieldGetter |