CloneSet138


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22840.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1253
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeleteResourceElementsOperation.java
22121
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaConnectTab.java
32216
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/AddVMDialog.java
42133
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/LibraryContentProvider.java
52322
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java
62320
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
72288
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
82307
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
92363
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
102379
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
112398
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java
122117
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaElementResourceMapping.java
132191
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java
142241
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
152280
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java
162677
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
172470
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java
182660
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java
192131
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java
202202
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/QuickMenuAction.java
21298
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchScopeActionGroup.java
222195
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDropAdapter.java
232153
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
242750
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
252760
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
2621040
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
27235
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPUserLibraryElement.java
282282
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java
Clone Instance
1
Line Count
2
Source Line
53
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeleteResourceElementsOperation.java

                        // remove the children
                        for (int i = 0; i < childrenOfInterest.length; i++) {
                                resources[i] = childrenOfInterest[i].getCorrespondingResource();
                        }


Clone Instance
2
Line Count
2
Source Line
121
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaConnectTab.java

                for (int i = 0; i < fConnectors.length; i++) {
                        names[i] = fConnectors[i].getName();
                }


Clone Instance
3
Line Count
2
Source Line
216
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/AddVMDialog.java

                for (int i = 0; i < fVMTypes.length; i++) {
                        names[i] = fVMTypes[i].getName();
                }


Clone Instance
4
Line Count
2
Source Line
133
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/LibraryContentProvider.java

                for (int i = 0; i < locations.length; i++) {
                        locations[i] = fLibraries[i].toLibraryLocation();
                }


Clone Instance
5
Line Count
2
Source Line
322
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java

                        for (int i = 0; i < bootEntriesPrep.length; i++) {
                                entriesPrep[i] = bootEntriesPrep[i].getLocation();
                        }


Clone Instance
6
Line Count
2
Source Line
320
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                for (int i = 0; i < typeParameters.length; i++) {
                        typeParametersNames[i] = typeParameters[i].getElementName();
                }


Clone Instance
7
Line Count
2
Source Line
288
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java

                for (int i = 0; i < ret.length; i++) {
                        ret[i] = localArrays[i].getName();
                }


Clone Instance
8
Line Count
2
Source Line
307
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java

                for (int i = 0; i < localArrays.length; i++) {
                        ret[i] = localArrays[i].getMemberTypeNames();
                }


Clone Instance
9
Line Count
2
Source Line
363
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java

                for (int i = 0; i < ret.length; i++) {
                        ret[i] = localCollections[i].getName();
                }


Clone Instance
10
Line Count
2
Source Line
379
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java

                for (int i = 0; i < ret.length; i++) {
                        ret[i] = localCollections[i].getName();
                }


Clone Instance
11
Line Count
2
Source Line
398
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java

                for (int i = 0; i < iterables.length; i++) {
                        ret[i] = iterables[i].getMemberTypeNames();
                }


Clone Instance
12
Line Count
2
Source Line
117
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaElementResourceMapping.java

                        for (int i = 0; i < projects.length; i++) {
                                result[i] = projects[i].getProject();
                        }


Clone Instance
13
Line Count
2
Source Line
191
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java

                        for (int i = 0; i < projects.length; i++) {
                                result[i] = projects[i].getElementName();
                        }


Clone Instance
14
Line Count
2
Source Line
241
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

                                for (int i = 0; i < bindings.length; i++) {
                                        fExcludedVariableNames[i] = bindings[i].getName();
                                }


Clone Instance
15
Line Count
2
Source Line
280
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java

                for (int i = 0; i < fArguments.length; i++) {
                        result[i] = fArguments[i].getType();
                }


Clone Instance
16
Line Count
2
Source Line
677
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java

                                for (int i = 0; i < bindings.length; i++) {
                                        fExcludedVariableNames[i] = bindings[i].getName();
                                }


Clone Instance
17
Line Count
2
Source Line
470
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java

                for (int i = 0; i < fExcludedParameterNames.length; i++) {
                        fExcludedParameterNames[i] = bindings[i].getName();
                }


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

                        for (int i = 0; i < fOccurrences.length; i++) {
                                elements[i] = fOccurrences[i].getCompilationUnit();
                        }


Clone Instance
19
Line Count
2
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java

                        for (int i = 0; i < result.length; i++) {
                                result[i] = infos[i].getMember();
                        }


Clone Instance
20
Line Count
2
Source Line
202
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/QuickMenuAction.java

                                for (int i = 0; i < rectangles.length; i++) {
                                        rectangles[i] = items[i].getBounds();
                                }


Clone Instance
21
Line Count
2
Source Line
98
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchScopeActionGroup.java

                for (int i = 0; i < sets.length; i++) {
                        result[i] = sets[i].getName();
                }


Clone Instance
22
Line Count
2
Source Line
195
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDropAdapter.java

                for (int i = 0; i < fListeners.length; i++) {
                        types[i] = fListeners[i].getTransfer();
                }


Clone Instance
23
Line Count
2
Source Line
153
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java

                                for (int i = 0; i < workingSets.length; i++) {
                                        wsIds[i] = workingSets[i].getName();
                                }


Clone Instance
24
Line Count
2
Source Line
750
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java

                for (int i = 0; i < elements.length; i++) {
                        elements[i] = roots[i].getData();
                }


Clone Instance
25
Line Count
2
Source Line
760
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java

                for (int i = 0; i < elements.length; i++) {
                        elements[i] = roots[i].getData();
                }


Clone Instance
26
Line Count
2
Source Line
1040
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java

                for (int i = 0; i < varsBefore.length; i++) {
                        names[i] = varsBefore[i].getName();
                }


Clone Instance
27
Line Count
2
Source Line
35
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPUserLibraryElement.java

                        for (int i = 0; i < entries.length; i++) {
                                entries[i] = children[i].getClasspathEntry();
                        }


Clone Instance
28
Line Count
2
Source Line
282
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java

                for (int i = 0; i < res.length; i++) {
                        res[i] = cus[i].getResource();
                }


Clone AbstractionParameter Count: 4Parameter Bindings

// remove the children
for (int i = 0; i <  [[#variableb95ed400]].length; i++) {
   [[#variableb95ed380]][i] = [[#variableb95ed320]][i]. [[#variableb95ed2c0]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b95ed400]]
res 
12[[#b95ed400]]
elements 
13[[#b95ed400]]
bindings 
14[[#b95ed400]]
ret 
15[[#b95ed400]]
childrenOfInterest 
16[[#b95ed400]]
fConnectors 
17[[#b95ed400]]
fVMTypes 
18[[#b95ed400]]
locations 
19[[#b95ed400]]
bootEntriesPrep 
110[[#b95ed400]]
typeParameters 
111[[#b95ed400]]
iterables 
112[[#b95ed400]]
localArrays 
113[[#b95ed400]]
ret 
114[[#b95ed400]]
projects 
115[[#b95ed400]]
projects 
116[[#b95ed400]]
fArguments 
117[[#b95ed400]]
fExcludedParameterNames 
118[[#b95ed400]]
fOccurrences 
119[[#b95ed400]]
result 
120[[#b95ed400]]
rectangles 
121[[#b95ed400]]
sets 
122[[#b95ed400]]
fListeners 
123[[#b95ed400]]
workingSets 
124[[#b95ed400]]
varsBefore 
125[[#b95ed400]]
entries 
126[[#b95ed400]]
ret 
127[[#b95ed400]]
elements 
128[[#b95ed400]]
bindings 
21[[#b95ed380]]
res 
22[[#b95ed380]]
elements 
23[[#b95ed380]]
fExcludedVariableNames 
24[[#b95ed380]]
ret 
25[[#b95ed380]]
resources 
26[[#b95ed380]]
names 
27[[#b95ed380]]
names 
28[[#b95ed380]]
locations 
29[[#b95ed380]]
entriesPrep 
210[[#b95ed380]]
typeParametersNames 
211[[#b95ed380]]
ret 
212[[#b95ed380]]
ret 
213[[#b95ed380]]
ret 
214[[#b95ed380]]
result 
215[[#b95ed380]]
result 
216[[#b95ed380]]
result 
217[[#b95ed380]]
fExcludedParameterNames 
218[[#b95ed380]]
elements 
219[[#b95ed380]]
result 
220[[#b95ed380]]
rectangles 
221[[#b95ed380]]
result 
222[[#b95ed380]]
types 
223[[#b95ed380]]
wsIds 
224[[#b95ed380]]
names 
225[[#b95ed380]]
entries 
226[[#b95ed380]]
ret 
227[[#b95ed380]]
elements 
228[[#b95ed380]]
fExcludedVariableNames 
31[[#b95ed320]]
cus 
32[[#b95ed320]]
roots 
33[[#b95ed320]]
bindings 
34[[#b95ed320]]
localCollections 
35[[#b95ed320]]
childrenOfInterest 
36[[#b95ed320]]
fConnectors 
37[[#b95ed320]]
fVMTypes 
38[[#b95ed320]]
fLibraries 
39[[#b95ed320]]
bootEntriesPrep 
310[[#b95ed320]]
typeParameters 
311[[#b95ed320]]
iterables 
312[[#b95ed320]]
localArrays 
313[[#b95ed320]]
localArrays 
314[[#b95ed320]]
projects 
315[[#b95ed320]]
projects 
316[[#b95ed320]]
fArguments 
317[[#b95ed320]]
bindings 
318[[#b95ed320]]
fOccurrences 
319[[#b95ed320]]
infos 
320[[#b95ed320]]
items 
321[[#b95ed320]]
sets 
322[[#b95ed320]]
fListeners 
323[[#b95ed320]]
workingSets 
324[[#b95ed320]]
varsBefore 
325[[#b95ed320]]
children 
326[[#b95ed320]]
localCollections 
327[[#b95ed320]]
roots 
328[[#b95ed320]]
bindings 
41[[#b95ed2c0]]
getResource 
42[[#b95ed2c0]]
getData 
43[[#b95ed2c0]]
getName 
44[[#b95ed2c0]]
getName 
45[[#b95ed2c0]]
getCorrespondingResource 
46[[#b95ed2c0]]
getName 
47[[#b95ed2c0]]
getName 
48[[#b95ed2c0]]
toLibraryLocation 
49[[#b95ed2c0]]
getLocation 
410[[#b95ed2c0]]
getElementName 
411[[#b95ed2c0]]
getMemberTypeNames 
412[[#b95ed2c0]]
getMemberTypeNames 
413[[#b95ed2c0]]
getName 
414[[#b95ed2c0]]
getProject 
415[[#b95ed2c0]]
getElementName 
416[[#b95ed2c0]]
getType 
417[[#b95ed2c0]]
getName 
418[[#b95ed2c0]]
getCompilationUnit 
419[[#b95ed2c0]]
getMember 
420[[#b95ed2c0]]
getBounds 
421[[#b95ed2c0]]
getName 
422[[#b95ed2c0]]
getTransfer 
423[[#b95ed2c0]]
getName 
424[[#b95ed2c0]]
getName 
425[[#b95ed2c0]]
getClasspathEntry 
426[[#b95ed2c0]]
getName 
427[[#b95ed2c0]]
getData 
428[[#b95ed2c0]]
getName