CloneSet5362


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.962statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13665
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
23670
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
Clone Instance
1
Line Count
3
Source Line
665
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

                        //remove getter
                        IMethod getter = getGetter(getterSetterMapping, field);
                        if (getter != null && elementsToDelete.contains(getter))
                                removeGetterFromMapping(getterSetterMapping, field);


Clone Instance
2
Line Count
3
Source Line
670
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

                        //remove setter
                        IMethod setter = getSetter(getterSetterMapping, field);
                        if (setter != null && elementsToDelete.contains(setter))
                                removeSetterFromMapping(getterSetterMapping, field);


Clone AbstractionParameter Count: 3Parameter Bindings

//remove getter
//remove setter
IMethod  [[#variablea46151a0]]= [[#variablea4614fe0]](getterSetterMapping, field);
if ( [[#variablea46151a0]]!= null && elementsToDelete.contains( [[#variablea46151a0]]))
   [[#variablea4614320]](getterSetterMapping, field);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a46151a0]]
getter 
12[[#a46151a0]]
setter 
21[[#a4614fe0]]
getGetter 
22[[#a4614fe0]]
getSetter 
31[[#a4614320]]
removeGetterFromMapping 
32[[#a4614320]]
removeSetterFromMapping