Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.988 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 674 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java |
2 | 6 | 696 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java |
| ||||
// (2) find refs in fOccurrences and fPackage to namesake packages // (from fOccurrences (without namesakes): may have shared star import) // (from fPackage: may have unimported references to types of namesake packages) IType[] typesToSearch = getTypesInPackages(namesakePackages); if (typesToSearch.length == 0) { pm.done(); return new ArrayList(0); } SearchPattern pattern = RefactoringSearchEngine.createOrPattern(typesToSearch, IJavaSearchConstants.REFERENCES); |
| ||||
IType[] typesToSearch = getTypesInPackage(fPackage); if (typesToSearch.length == 0) { pm.done(); return new ArrayList(0); } SearchPattern pattern = RefactoringSearchEngine.createOrPattern(typesToSearch, IJavaSearchConstants.REFERENCES); |
| |||
// (2) find refs in fOccurrences and fPackage to namesake packages // (from fOccurrences (without namesakes): may have shared star import) // (from fPackage: may have unimported references to types of namesake packages) IType[] typesToSearch = [[#variable9d47e360]]( [[#variable9c05f960]]); if (typesToSearch.length == 0) { pm.done(); return new ArrayList(0); } SearchPattern pattern = RefactoringSearchEngine.createOrPattern(typesToSearch, IJavaSearchConstants.REFERENCES); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d47e360]] | getTypesInPackages |
1 | 2 | [[#9d47e360]] | getTypesInPackage |
2 | 1 | [[#9c05f960]] | namesakePackages |
2 | 2 | [[#9c05f960]] | fPackage |