CloneSet5805


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

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


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

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


Clone AbstractionParameter Count: 1Parameter Bindings

{
  IType type = (IType) elements[0];
  if (type.getCompilationUnit() != null && !type.isInterface() && !type. [[#variable8f6ff540]]()) {
    return type;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#8f6ff540]]
isAnnotation 
12[[#8f6ff540]]
isEnum