CloneSet1629


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8330.960class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1828
src/NHibernate/Properties/BackrefPropertyAccessor.cs
2817
src/NHibernate/Properties/NoopAccessor.cs
3855
src/NHibernate/Properties/ReadonlyAccessor.cs
Clone Instance
1
Line Count
8
Source Line
28
Source File
src/NHibernate/Properties/BackrefPropertyAccessor.cs

                public ISetter GetSetter(System.Type theClass, string propertyName)
                {
                        return new BackrefSetter();
                }

                public bool CanAccessThroughReflectionOptimizer
                {
                        get { return false;
                            }
                }



Clone Instance
2
Line Count
8
Source Line
17
Source File
src/NHibernate/Properties/NoopAccessor.cs

                public ISetter GetSetter(System.Type theClass, string propertyName)
                {
                        return new NoopSetter();
                }

                public bool CanAccessThroughReflectionOptimizer
                {
                        get { return false;
                            }
                }



Clone Instance
3
Line Count
8
Source Line
55
Source File
src/NHibernate/Properties/ReadonlyAccessor.cs

                /// <summary>
                /// Create a <see cref="NoopAccessor.NoopSetter"/> to do nothing when trying to
                /// se the value of the mapped Property
                /// </summary>
                /// <param name="type">The <see cref="System.Type"/> to find the mapped Property in.</param>
                /// <param name="propertyName">The name of the mapped Property to set.</param>
                /// <returns>
                /// An instance of <see cref="NoopAccessor.NoopSetter"/>.
                /// </returns>
                public ISetter GetSetter(System.Type type, string propertyName)
                {
                        return new NoopSetter();
                }

                public bool CanAccessThroughReflectionOptimizer
                {
                        get { return true;
                            }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

/// <summary>
/// Create a <see cref="NoopAccessor.NoopSetter"/> to do nothing when trying to
/// se the value of the mapped Property
/// </summary>
/// <param name="type">The <see cref="System.Type"/> to find the mapped Property in.</param>
/// <param name="propertyName">The name of the mapped Property to set.</param>
/// <returns>
/// An instance of <see cref="NoopAccessor.NoopSetter"/>.
/// </returns>
public ISetter GetSetter(System.Type [[#variable2897fbe0]], string propertyName)
{
   return new [[#variable2897fbc0]]();
}

public bool CanAccessThroughReflectionOptimizer
{
   get
   {
      return [[#variable2897fb80]];
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2897fbe0]]
type 
12[[#2897fbe0]]
theClass 
13[[#2897fbe0]]
theClass 
21[[#2897fbc0]]
NoopSetter 
22[[#2897fbc0]]
NoopSetter 
23[[#2897fbc0]]
BackrefSetter 
31[[#2897fb80]]
true 
32[[#2897fb80]]
false 
33[[#2897fb80]]
false