CloneSet2423


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.951block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18831
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java
28890
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java
Clone Instance
1
Line Count
8
Source Line
831
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java

                                                                                           {
                List result = new ArrayList(fMemberInfos.length);
                for (int index = 0; index < fMemberInfos.length; index++) {
                        MemberActionInfo info = fMemberInfos[index];
                        if (info.isNewMethodToBeDeclaredAbstract())
                                result.add(info);
                }
                return (MemberActionInfo[]) result.toArray(new MemberActionInfo[result.size()]);
                                                                                           }


Clone Instance
2
Line Count
8
Source Line
890
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java

                                                {
                List result = new ArrayList(fMemberInfos.length);
                for (int i = 0; i < fMemberInfos.length; i++) {
                        MemberActionInfo info = fMemberInfos[i];
                        if (info.isToBeDeletedFromDeclaringClass())
                                result.add(info.getMember());
                }
                return (IMember[]) result.toArray(new IMember[result.size()]);
                                                }


Clone AbstractionParameter Count: 4Parameter Bindings

{
  List result = new ArrayList(fMemberInfos.length);
  for (int  [[#variable9a16a020]]= 0; [[#variable9a16a020]] < fMemberInfos.length; [[#variable9a16a020]]++) {
    MemberActionInfo info = fMemberInfos[ [[#variable9a16a020]]];
    if (info. [[#variable990e5fe0]]())
      result.add( [[#variable99431360]]);
  }
  return ( [[#variable990e5fc0]][]) result.toArray(new [[#variable990e5fc0]][result.size()]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9a16a020]]
index 
12[[#9a16a020]]
i 
21[[#990e5fe0]]
isNewMethodToBeDeclaredAbstract 
22[[#990e5fe0]]
isToBeDeletedFromDeclaringClass 
31[[#99431360]]
info 
32[[#99431360]]
info.getMember() 
41[[#990e5fc0]]
MemberActionInfo 
42[[#990e5fc0]]
IMember