CloneSet1622


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4350.967class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1486
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java
2493
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java
3499
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java
Clone Instance
1
Line Count
4
Source Line
86
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java

        public INewNameQuery createNewResourceNameQuery(IResource res, String initialSuggestedName) {
                String[] keys = {
                                res.getName()
                         };
                String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys);
                return createStaticQuery(createResourceNameValidator(res), message, initialSuggestedName, getShell());
        }


Clone Instance
2
Line Count
4
Source Line
93
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java

        public INewNameQuery createNewPackageNameQuery(IPackageFragment pack, String initialSuggestedName) {
                String[] keys = {
                                pack.getElementName()
                         };
                String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys);
                return createStaticQuery(createPackageNameValidator(pack), message, initialSuggestedName, getShell());
        }


Clone Instance
3
Line Count
4
Source Line
99
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/NewNameQueries.java

        public INewNameQuery createNewPackageFragmentRootNameQuery(IPackageFragmentRoot root, String initialSuggestedName) {
                String[] keys = {
                                root.getElementName()
                         };
                String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys);
                return createStaticQuery(createPackageFragmentRootNameValidator(root), message, initialSuggestedName, getShell());
        }


Clone AbstractionParameter Count: 5Parameter Bindings

public INewNameQuery  [[#variable9dcdcc40]]( [[#variable9dcdcbc0]]  [[#variable9dcdcb20]], String initialSuggestedName) {
  String[] keys = {
              [[#variable9dcdcb20]]. [[#variable9dcdcaa0]]()
           };
  String message = Messages.format(ReorgMessages.ReorgQueries_enterNewNameQuestion, keys);
  return createStaticQuery( [[#variable9dcdca00]]( [[#variable9dcdcb20]]), message, initialSuggestedName, getShell());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9dcdcc40]]
createNewResourceNameQuery 
12[[#9dcdcc40]]
createNewPackageNameQuery 
13[[#9dcdcc40]]
createNewPackageFragmentRootNameQuery 
21[[#9dcdcbc0]]
IResource 
22[[#9dcdcbc0]]
IPackageFragment 
23[[#9dcdcbc0]]
IPackageFragmentRoot 
31[[#9dcdcb20]]
res 
32[[#9dcdcb20]]
pack 
33[[#9dcdcb20]]
root 
41[[#9dcdcaa0]]
getName 
42[[#9dcdcaa0]]
getElementName 
43[[#9dcdcaa0]]
getElementName 
51[[#9dcdca00]]
createResourceNameValidator 
52[[#9dcdca00]]
createPackageNameValidator 
53[[#9dcdca00]]
createPackageFragmentRootNameValidator