CloneSet1045


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2840.952statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12345
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SearchableEnvironment.java
22496
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/ParametricStructureComputer.java
32382
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java
4280
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/DeleteChangeCreator.java
521440
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java
62223
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ConstructorReferenceFinder.java
72140
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ReferenceFinderUtil.java
82167
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java
Clone Instance
1
Line Count
2
Source Line
345
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SearchableEnvironment.java

                for (int i = 0; i < names.length; i++) {
                        result.append(toStringChar(names[i]));
                }


Clone Instance
2
Line Count
2
Source Line
496
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/ParametricStructureComputer.java

                for (int i = 0; i < fAllConstraintVariables.length; i++) {
                        newVars.addAll(createVariablesFor(fAllConstraintVariables[i]));
                }


Clone Instance
3
Line Count
2
Source Line
382
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java

                for (int i = 0; i < cus.length; i++) {
                        result.addAll(getTopLevelTypeNames(cus[i]));
                }


Clone Instance
4
Line Count
2
Source Line
80
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/DeleteChangeCreator.java

                for (int i = 0; i < resources.length; i++) {
                        result.add(createDeleteChange(resources[i]));
                }


Clone Instance
5
Line Count
2
Source Line
1440
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java

                for (int i = 0; i < interfaces.length; i++) {
                        result.addAll(getAllSuperTypes(interfaces[i]));
                }


Clone Instance
6
Line Count
2
Source Line
223
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ConstructorReferenceFinder.java

                for (int i = 0; i < subTypes.length; i++) {
                        result.addAll(getAllSuperConstructorInvocations(subTypes[i]));
                }


Clone Instance
7
Line Count
2
Source Line
140
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ReferenceFinderUtil.java

                for (int i = 0; i < methods.length; i++) {
                        typesUsed.addAll(getTypesUsedInDeclaration(methods[i]));
                }


Clone Instance
8
Line Count
2
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java

                                for (int i = 0; i < availableVisibilities.length; i++) {
                                        combo.add(getAccessModifierString(availableVisibilities[i]));
                                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variableb6ea82e0]].length; i++) {
   [[#variableb6ea8260]]. [[#variableb6ea81e0]]( [[#variableb6ea80e0]]( [[#variableb6ea82e0]][i]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6ea82e0]]
names 
12[[#b6ea82e0]]
fAllConstraintVariables 
13[[#b6ea82e0]]
cus 
14[[#b6ea82e0]]
resources 
15[[#b6ea82e0]]
interfaces 
16[[#b6ea82e0]]
subTypes 
17[[#b6ea82e0]]
methods 
18[[#b6ea82e0]]
availableVisibilities 
21[[#b6ea8260]]
result 
22[[#b6ea8260]]
newVars 
23[[#b6ea8260]]
result 
24[[#b6ea8260]]
result 
25[[#b6ea8260]]
result 
26[[#b6ea8260]]
result 
27[[#b6ea8260]]
typesUsed 
28[[#b6ea8260]]
combo 
31[[#b6ea81e0]]
append 
32[[#b6ea81e0]]
addAll 
33[[#b6ea81e0]]
addAll 
34[[#b6ea81e0]]
add 
35[[#b6ea81e0]]
addAll 
36[[#b6ea81e0]]
addAll 
37[[#b6ea81e0]]
addAll 
38[[#b6ea81e0]]
add 
41[[#b6ea80e0]]
toStringChar 
42[[#b6ea80e0]]
createVariablesFor 
43[[#b6ea80e0]]
getTopLevelTypeNames 
44[[#b6ea80e0]]
createDeleteChange 
45[[#b6ea80e0]]
getAllSuperTypes 
46[[#b6ea80e0]]
getAllSuperConstructorInvocations 
47[[#b6ea80e0]]
getTypesUsedInDeclaration 
48[[#b6ea80e0]]
getAccessModifierString