CloneSet2567


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.979statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17360
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
28924
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
7
Source Line
360
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                        Initializer initializer = new Initializer(this.ast);
                        initializer.setBody(convert(oldInitializer.block));
                        setModifiers(initializer, oldInitializer);
                        initializer.setSourceRange(oldInitializer.declarationSourceStart, oldInitializer.sourceEnd - oldInitializer.declarationSourceStart + 1);
                        // The javadoc comment is now got from list store in compilation unit declaration
                        convert(oldInitializer.javadoc, initializer);
                        bodyDeclarations.add(initializer);


Clone Instance
2
Line Count
8
Source Line
924
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                Initializer initializer = new Initializer(this.ast);
                                initializer.setBody(convert(oldInitializer.block));
                                setModifiers(initializer, oldInitializer);
                                initializer.setSourceRange(oldInitializer.declarationSourceStart, oldInitializer.sourceEnd - oldInitializer.declarationSourceStart + 1);
//                              setJavaDocComment(initializer);
//                              initializer.setJavadoc(convert(oldInitializer.javadoc));
                                convert(oldInitializer.javadoc, initializer);
                                typeDecl.bodyDeclarations().add(initializer);


Clone AbstractionParameter Count: 1Parameter Bindings

Initializer initializer = new Initializer(this.ast);
initializer.setBody(convert(oldInitializer.block));
setModifiers(initializer, oldInitializer);
initializer.setSourceRange(oldInitializer.declarationSourceStart, oldInitializer.sourceEnd - oldInitializer.declarationSourceStart + 1);
// The javadoc comment is now got from list store in compilation unit declaration
//                              setJavaDocComment(initializer);
//                              initializer.setJavadoc(convert(oldInitializer.javadoc));
convert(oldInitializer.javadoc, initializer);
 [[#variablea51fbb80]].add(initializer);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a51fbb80]]
bodyDeclarations 
12[[#a51fbb80]]
typeDecl.bodyDeclarations()