Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.975 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 427 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java |
2 | 5 | 434 | 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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b96d34c0]] | getSetter |
1 | 2 | [[#b96d34c0]] | getGetter |
2 | 1 | [[#7d1757a0]] | fRenameSetter |
2 | 2 | [[#7d1757a0]] | fRenameGetter |
3 | 1 | [[#7d175880]] | getNewSetterName |
3 | 2 | [[#7d175880]] | getNewGetterName |