CloneSet3889


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7440.954class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17466
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
27137
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/ParameterInfo.java
3773
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/JavaRenameProcessor.java
4776
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java
Clone Instance
1
Line Count
7
Source Line
466
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

        public void setConstantName(String newName) {
                Assert.isNotNull(newName);
                fConstantName = newName;
        }

        public String getConstantName() {
                return fConstantName;
        }


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

        public void setNewName(String newName) {
                Assert.isNotNull(newName);
                fNewName = newName;
        }

        public String getDefaultValue() {
                return fDefaultValue;
        }


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

        public void setNewElementName(String newName) {
                Assert.isNotNull(newName);
                fNewElementName = newName;
        }

        public String getNewElementName() {
                return fNewElementName;
        }


Clone Instance
4
Line Count
7
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java

        //---- INameUpdating ---------------------------------------------------
        public void setNewElementName(String newName) {
                Assert.isNotNull(newName);
                fNewElementName = newName;
        }

        public String getNewElementName() {
                return fNewElementName;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

//---- INameUpdating ---------------------------------------------------
public void [[#variablea1523300]](String newName) {
  Assert.isNotNull(newName);
   [[#variablea1522320]]= newName;
}

public String  [[#variablea1523280]]() {
  return [[#variablea1523380]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1523300]]
setNewElementName 
12[[#a1523300]]
setConstantName 
13[[#a1523300]]
setNewName 
14[[#a1523300]]
setNewElementName 
21[[#a1522320]]
fNewElementName 
22[[#a1522320]]
fConstantName 
23[[#a1522320]]
fNewName 
24[[#a1522320]]
fNewElementName 
31[[#a1523280]]
getNewElementName 
32[[#a1523280]]
getConstantName 
33[[#a1523280]]
getDefaultValue 
34[[#a1523280]]
getNewElementName 
41[[#a1523380]]
fNewElementName 
42[[#a1523380]]
fConstantName 
43[[#a1523380]]
fDefaultValue 
44[[#a1523380]]
fNewElementName