Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 3 | 0.982 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 17 | src/NHibernate/Properties/ChainedPropertyAccessor.cs |
2 | 15 | 34 | src/NHibernate/Properties/ChainedPropertyAccessor.cs |
| ||||
#region IPropertyAccessor Members public IGetter GetGetter(System.Type theClass, string propertyName) { for (int i = 0; i < chain.Length; i++) { IPropertyAccessor candidate = chain[i]; try { return candidate.GetGetter(theClass, propertyName); } catch (PropertyNotFoundException) { // ignore } } throw new PropertyNotFoundException(theClass, propertyName, "getter"); } |
| ||||
public ISetter GetSetter(System.Type theClass, string propertyName) { for (int i = 0; i < chain.Length; i++) { IPropertyAccessor candidate = chain[i]; try { return candidate.GetSetter(theClass, propertyName); } catch (PropertyNotFoundException) { // } } throw new PropertyNotFoundException(theClass, propertyName, "setter"); } |
| |||
#region IPropertyAccessor Members public [[#variable53ac7dc0]] [[#variable6fd63ee0]](System.Type theClass, string propertyName) { for (int i = 0; i < chain.Length; i++) { IPropertyAccessor candidate = chain[i]; try { return candidate. [[#variable6fd63ee0]](theClass, propertyName); } catch (PropertyNotFoundException) { // // ignore } } throw new PropertyNotFoundException(theClass, propertyName, [[#variable53ac7ce0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53ac7dc0]] | ISetter |
1 | 2 | [[#53ac7dc0]] | IGetter |
2 | 1 | [[#6fd63ee0]] | GetSetter |
2 | 2 | [[#6fd63ee0]] | GetGetter |
3 | 1 | [[#53ac7ce0]] | "setter" |
3 | 2 | [[#53ac7ce0]] | "getter" |