CloneSet2348


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.962class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17781
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java
27485
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java
Clone Instance
1
Line Count
7
Source Line
781
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.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()]);
        }


Clone Instance
2
Line Count
7
Source Line
485
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java

                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()]);
                }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d170200]]
(MemberActionInfo[]) fTableViewer.getInput() 
12[[#9d170200]]
getTableInput()