CloneSet4875


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.979executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15433
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java
25199
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java
Clone Instance
1
Line Count
5
Source Line
433
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java

                                                                    {
                        ICompilationUnit cu = (ICompilationUnit) elements[0];
                        IType type = cu.findPrimaryType();
                        if (type != null && !type.isInterface() && !type.isEnum())
                                return type;
                                                                    }


Clone Instance
2
Line Count
5
Source Line
199
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java

                                                                    {
                        ICompilationUnit unit = (ICompilationUnit) elements[0];
                        IType type = unit.findPrimaryType();
                        if (type != null && !type.isInterface() && !type.isAnnotation())
                                return type;
                                                                    }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  ICompilationUnit  [[#variable556ef460]]= (ICompilationUnit) elements[0];
  IType type = [[#variable556ef460]].findPrimaryType();
  if (type != null && !type.isInterface() && !type. [[#variable556ef400]]())
    return type;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#556ef460]]
unit 
12[[#556ef460]]
cu 
21[[#556ef400]]
isAnnotation 
22[[#556ef400]]
isEnum