CloneSet735


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4840.955statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1448
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/ClasspathUtil.java
23154
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestMethodSelectionDialog.java
33173
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java
43244
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java
53809
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
62248
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java
73467
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
83112
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java
Clone Instance
1
Line Count
4
Source Line
48
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/ClasspathUtil.java

                for (int i = 0; i < cp.length; i++)
                {
                        if (cp[i].getPath().equals( searchingForPath))
                                return cp[i];
                }


Clone Instance
2
Line Count
3
Source Line
154
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestMethodSelectionDialog.java

                for (int i = 0; i < testTypes.length; i++) {
                        if (testTypes[i].getJavaProject().equals(project))
                                return testTypes[i];
                }


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

                for (int i = 0; i < newWorkingCopies.length; i++) {
                        if (newWorkingCopies[i].getPrimary().equals(original))
                                return newWorkingCopies[i];
                }


Clone Instance
4
Line Count
3
Source Line
244
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java

                for (int i = 0; i < newOccurrences.length; i++) {
                        if (newOccurrences[i].getResource().equals(resource))
                                return newOccurrences[i];
                }


Clone Instance
5
Line Count
3
Source Line
809
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                for (int i = 0; i < imports.length; i++) {
                        if (imports[i].getElementName().endsWith(dotTypeName))
                                return imports[i];
                }


Clone Instance
6
Line Count
2
Source Line
248
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java

                        for (int i = 0; i < items.length; i++) {
                                if (items[i].getData().equals(type)) return items[i];
                        }


Clone Instance
7
Line Count
3
Source Line
467
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java

                for (int i = 0; i < fMainTypes.length; i++) {
                        if (fMainTypes[i].getFullyQualifiedName().equals(name))
                         return fMainTypes[i];
                }


Clone Instance
8
Line Count
3
Source Line
112
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java

                for (int i = 0; i < ALL_FILTERS.length; i++) {
                        if (ALL_FILTERS[i].getID().equals(id))
                                return ALL_FILTERS[i];
                }


Clone AbstractionParameter Count: 4Parameter Bindings

for (int i = 0; i <  [[#variablebafb50c0]].length; i++) {
  if ( [[#variablebafb50c0]][i]. [[#variablebafb5040]](). [[#variablebafb4fc0]]( [[#variablebafb4de0]]))
    return [[#variablebafb50c0]][i];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bafb50c0]]
cp 
12[[#bafb50c0]]
testTypes 
13[[#bafb50c0]]
newOccurrences 
14[[#bafb50c0]]
newWorkingCopies 
15[[#bafb50c0]]
imports 
16[[#bafb50c0]]
fMainTypes 
17[[#bafb50c0]]
ALL_FILTERS 
18[[#bafb50c0]]
items 
21[[#bafb5040]]
getPath 
22[[#bafb5040]]
getJavaProject 
23[[#bafb5040]]
getResource 
24[[#bafb5040]]
getPrimary 
25[[#bafb5040]]
getElementName 
26[[#bafb5040]]
getFullyQualifiedName 
27[[#bafb5040]]
getID 
28[[#bafb5040]]
getData 
31[[#bafb4fc0]]
equals 
32[[#bafb4fc0]]
equals 
33[[#bafb4fc0]]
equals 
34[[#bafb4fc0]]
equals 
35[[#bafb4fc0]]
endsWith 
36[[#bafb4fc0]]
equals 
37[[#bafb4fc0]]
equals 
38[[#bafb4fc0]]
equals 
41[[#bafb4de0]]
searchingForPath 
42[[#bafb4de0]]
project 
43[[#bafb4de0]]
resource 
44[[#bafb4de0]]
original 
45[[#bafb4de0]]
dotTypeName 
46[[#bafb4de0]]
name 
47[[#bafb4de0]]
id 
48[[#bafb4de0]]
type