CloneSet1760


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9330.961executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19204
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java
29216
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java
39230
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java
Clone Instance
1
Line Count
9
Source Line
204
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java

                                        {
                                                AbstractTypeDeclaration type1 = (AbstractTypeDeclaration) bodyDeclaration1;
                                                AbstractTypeDeclaration type2 = (AbstractTypeDeclaration) bodyDeclaration2;

                                                String name1 = type1.getName().getIdentifier();
                                                String name2 = type2.getName().getIdentifier();

                                                // typedeclarations are sorted by name
                                                return compareNames(bodyDeclaration1, bodyDeclaration2, name1, name2);
                                        }


Clone Instance
2
Line Count
9
Source Line
216
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java

                                                                       {
                                                        EnumConstantDeclaration decl1 = (EnumConstantDeclaration) bodyDeclaration1;
                                                        EnumConstantDeclaration decl2 = (EnumConstantDeclaration) bodyDeclaration2;

                                                        String name1 = decl1.getName().getIdentifier();
                                                        String name2 = decl2.getName().getIdentifier();

                                                        // enum constants declarations are sorted by name
                                                        return compareNames(bodyDeclaration1, bodyDeclaration2, name1, name2);
                                                                       }


Clone Instance
3
Line Count
9
Source Line
230
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/SortMembersOperation.java

                                        {
                                                AnnotationTypeMemberDeclaration decl1 = (AnnotationTypeMemberDeclaration) bodyDeclaration1;
                                                AnnotationTypeMemberDeclaration decl2 = (AnnotationTypeMemberDeclaration) bodyDeclaration2;

                                                String name1 = decl1.getName().getIdentifier();
                                                String name2 = decl2.getName().getIdentifier();

                                                // enum constants declarations are sorted by name
                                                return compareNames(bodyDeclaration1, bodyDeclaration2, name1, name2);
                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

{
   [[#variable9e241960]]  [[#variable9e2418e0]]= ( [[#variable9e241960]]) bodyDeclaration1;
   [[#variable9e241960]]  [[#variable9e2417a0]]= ( [[#variable9e241960]]) bodyDeclaration2;
  String name1 = [[#variable9e2418e0]].getName().getIdentifier();
  String name2 = [[#variable9e2417a0]].getName().getIdentifier();
  // enum constants declarations are sorted by name
  // typedeclarations are sorted by name
  return compareNames(bodyDeclaration1, bodyDeclaration2, name1, name2);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e241960]]
EnumConstantDeclaration 
12[[#9e241960]]
AbstractTypeDeclaration 
13[[#9e241960]]
AnnotationTypeMemberDeclaration 
21[[#9e2418e0]]
decl1 
22[[#9e2418e0]]
type1 
23[[#9e2418e0]]
decl1 
31[[#9e2417a0]]
decl2 
32[[#9e2417a0]]
type2 
33[[#9e2417a0]]
decl2