Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.962 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 781 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java |
2 | 7 | 485 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java |
| ||||
private IMember[] getMembers() { final MemberActionInfo[] infos = getTableInput(); final List result = new ArrayList(infos.length); for (int index = 0; index < infos.length; index++) { result.add(infos[index].getMember()); } return (IMember[]) result.toArray(new IMember[result.size()]); } |
| ||||
private IMember[] getMembers() { final MemberActionInfo[] infos = (MemberActionInfo[]) fTableViewer.getInput(); final List result = new ArrayList(infos.length); for (int index = 0; index < infos.length; index++) { result.add(infos[index].getMember()); } return (IMember[]) result.toArray(new IMember[result.size()]); } |
| |||
private IMember[] getMembers() { final MemberActionInfo[] infos = [[#variable9d170200]]; final List result = new ArrayList(infos.length); for (int index = 0; index < infos.length; index++) { result.add(infos[index].getMember()); } return (IMember[]) result.toArray(new IMember[result.size()]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d170200]] | (MemberActionInfo[]) fTableViewer.getInput() |
1 | 2 | [[#9d170200]] | getTableInput() |