Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 3 | 0.972 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 116 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java |
2 | 12 | 160 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java |
| ||||
if ( !ACTION_PROPERTY.equals(property)) return; final int action = ((Integer) value).intValue(); MemberActionInfo info; if (element instanceof Item) { info = (MemberActionInfo) ((Item) element).getData(); } else info = (MemberActionInfo) element; if ( !canModify(info, property)) return; Assert.isTrue(info.isMethodInfo()); |
| ||||
if ( !ACTION_PROPERTY.equals(property)) return; final int action = ((Integer) value).intValue(); MemberActionInfo info; if (element instanceof Item) { info = (MemberActionInfo) ((Item) element).getData(); } else info = (MemberActionInfo) element; if ( !canModify(info, property)) return; info.setAction(action); |
| |||
if ( !ACTION_PROPERTY.equals(property)) return; final int action = ((Integer) value).intValue(); MemberActionInfo info; if (element instanceof Item) { info = (MemberActionInfo) ((Item) element).getData(); } else info = (MemberActionInfo) element; if ( !canModify(info, property)) return; [[#variableb3b8ada0]]. [[#variableb3c32e80]]( [[#variableb3b8a900]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3b8ada0]] | info |
1 | 2 | [[#b3b8ada0]] | Assert |
2 | 1 | [[#b3c32e80]] | setAction |
2 | 2 | [[#b3c32e80]] | isTrue |
3 | 1 | [[#b3b8a900]] | action |
3 | 2 | [[#b3b8a900]] | info.isMethodInfo() |