CloneSet538


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.965statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1729
src/NHibernate.ByteCode.Castle/ProxyFactory.cs
2519
src/NHibernate.ByteCode.LinFu/ProxyFactory.cs
Clone Instance
1
Line Count
7
Source Line
29
Source File
src/NHibernate.ByteCode.Castle/ProxyFactory.cs

                                var initializer = new LazyInitializer(EntityName, PersistentClass, id, GetIdentifierMethod,
                                                                            SetIdentifierMethod, ComponentIdType, session);

                                object generatedProxy = IsClassProxy ?
                                                                  ProxyGenerator.CreateClassProxy(PersistentClass, Interfaces, initializer):
                                                                  ProxyGenerator.CreateInterfaceProxyWithoutTarget(Interfaces[0], Interfaces,
                                                                                                                    initializer);


Clone Instance
2
Line Count
5
Source Line
19
Source File
src/NHibernate.ByteCode.LinFu/ProxyFactory.cs

                                var initializer = new LazyInitializer(EntityName, PersistentClass, id, GetIdentifierMethod, SetIdentifierMethod,
                                                                      ComponentIdType, session);

                                object proxyInstance = IsClassProxy ? factory.CreateProxy(PersistentClass, initializer, Interfaces):
                                          factory.CreateProxy(Interfaces[0], initializer, Interfaces);


Clone AbstractionParameter Count: 6Parameter Bindings

var initializer = new LazyInitializer(EntityName, PersistentClass, id, GetIdentifierMethod, SetIdentifierMethod, ComponentIdType, session);
object [[#variable56b39fa0]]= IsClassProxy ?
                               [[#variable56b39f60]]. [[#variable56b39f40]](PersistentClass, [[#variable4ef99e60]], [[#variable54ae97a0]]): [[#variable56b39f60]]. [[#variable56b39ec0]](Interfaces[0], [[#variable4ef99e60]], [[#variable54ae97a0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56b39fa0]]
generatedProxy 
12[[#56b39fa0]]
proxyInstance 
21[[#56b39f60]]
ProxyGenerator 
22[[#56b39f60]]
factory 
31[[#56b39f40]]
CreateClassProxy 
32[[#56b39f40]]
CreateProxy 
41[[#4ef99e60]]
Interfaces 
42[[#4ef99e60]]
initializer 
51[[#54ae97a0]]
initializer 
52[[#54ae97a0]]
Interfaces 
61[[#56b39ec0]]
CreateInterfaceProxyWithoutTarget 
62[[#56b39ec0]]
CreateProxy