CloneSet5460


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.962statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13537
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java
23197
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryTypeConverter.java
Clone Instance
1
Line Count
3
Source Line
537
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java

                        type.methods = new AbstractMethodDeclaration[methodCount + extraConstructor];
                        if (extraConstructor != 0) { // add default constructor in first position
                                type.methods[0] = type.createDefaultConstructor(false, false);
                        }


Clone Instance
2
Line Count
3
Source Line
197
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryTypeConverter.java

                typeDeclaration.methods = new AbstractMethodDeclaration[methodCount + neededCount];
                if (neededCount != 0) { // add default constructor in first position
                        typeDeclaration.methods[0] = typeDeclaration.createDefaultConstructor(false, false);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variablea0f80e60]].methods = new AbstractMethodDeclaration[methodCount +  [[#variablea0fc9560]]];
if ( [[#variablea0fc9560]]!= 0) { // add default constructor in first position
   [[#variablea0f80e60]].methods[0] = [[#variablea0f80e60]].createDefaultConstructor(false, false);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0f80e60]]
type 
12[[#a0f80e60]]
typeDeclaration 
21[[#a0fc9560]]
extraConstructor 
22[[#a0fc9560]]
neededCount