CloneSet2497


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.975statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15427
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java
25434
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java
Clone Instance
1
Line Count
5
Source Line
427
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java

                        if (getGetter() != null && fRenameGetter) {
                                result.merge(checkAccessor(new SubProgressMonitor(pm, 1), getGetter(), getNewGetterName()));
                                result.merge(Checks.checkIfConstructorName(getGetter(), getNewGetterName(), fField.getDeclaringType().getElementName()));
                        }
                        else   {
                                pm.worked(1);
                        }


Clone Instance
2
Line Count
5
Source Line
434
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java

                        if (getSetter() != null && fRenameSetter) {
                                result.merge(checkAccessor(new SubProgressMonitor(pm, 1), getSetter(), getNewSetterName()));
                                result.merge(Checks.checkIfConstructorName(getSetter(), getNewSetterName(), fField.getDeclaringType().getElementName()));
                        }
                        else   {
                                pm.worked(1);
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variableb96d34c0]]() != null && [[#variable7d1757a0]]) {
  result.merge(checkAccessor(new SubProgressMonitor(pm, 1),  [[#variableb96d34c0]](),  [[#variable7d175880]]()));
  result.merge(Checks.checkIfConstructorName( [[#variableb96d34c0]](),  [[#variable7d175880]](), fField.getDeclaringType().getElementName()));
}
else {
  pm.worked(1);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b96d34c0]]
getSetter 
12[[#b96d34c0]]
getGetter 
21[[#7d1757a0]]
fRenameSetter 
22[[#7d1757a0]]
fRenameGetter 
31[[#7d175880]]
getNewSetterName 
32[[#7d175880]]
getNewGetterName