| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 3 | 0.961 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 114 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InferTypeArgumentsWizard.java |
| 2 | 3 | 119 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InferTypeArgumentsWizard.java |
| ||||
private void setAssumeCloseReturnsSameType(boolean selection) {
fSettings.put(ASSUME_CLONE_RETURNS_SAME_TYPE, selection);
fRefactoring.setAssumeCloneReturnsSameType(selection);
}
|
| ||||
private void setLeaveUnconstrainedRaw(boolean selection) {
fSettings.put(LEAVE_UNCONSTRAINED_RAW, selection);
fRefactoring.setLeaveUnconstrainedRaw(selection);
}
|
| |||
private void [[#variableb61a1180]](boolean selection) {
fSettings.put( [[#variableb61a10e0]], selection);
fRefactoring. [[#variableb61a1040]](selection);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b61a1180]] | setAssumeCloseReturnsSameType |
| 1 | 2 | [[#b61a1180]] | setLeaveUnconstrainedRaw |
| 2 | 1 | [[#b61a10e0]] | ASSUME_CLONE_RETURNS_SAME_TYPE |
| 2 | 2 | [[#b61a10e0]] | LEAVE_UNCONSTRAINED_RAW |
| 3 | 1 | [[#b61a1040]] | setAssumeCloneReturnsSameType |
| 3 | 2 | [[#b61a1040]] | setLeaveUnconstrainedRaw |