CloneSet2092


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3430.954executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13166
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/AbstractSerialVersionOperation.java
23556
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java
33551
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
43940
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
Clone Instance
1
Line Count
3
Source Line
166
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/AbstractSerialVersionOperation.java

                        if (comment != null && comment.length() > 0) {
                                final Javadoc doc = (Javadoc) rewrite.createStringPlaceholder(comment, ASTNode.JAVADOC);
                                declaration.setJavadoc(doc);
                        }


Clone Instance
2
Line Count
3
Source Line
556
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java

                        if (comment != null && comment.length() > 0) {
                                Javadoc doc = (Javadoc) fCuRewrite.getASTRewrite().createStringPlaceholder(comment, ASTNode.JAVADOC);
                                fieldDeclaration.setJavadoc(doc);
                        }


Clone Instance
3
Line Count
3
Source Line
551
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

                if (comment != null && comment.length() > 0) {
                        final Javadoc doc = (Javadoc) rewrite.createStringPlaceholder(comment, ASTNode.JAVADOC);
                        newField.setJavadoc(doc);
                }


Clone Instance
4
Line Count
3
Source Line
940
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

                if (comment != null && comment.length() > 0) {
                        final Javadoc doc = (Javadoc) rewrite.createStringPlaceholder(comment, ASTNode.JAVADOC);
                        constructor.setJavadoc(doc);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

if (comment != null && comment.length() > 0) {
   [[#variable540c0ee0]]Javadoc doc = (Javadoc)  [[#variable540c0e80]].createStringPlaceholder(comment, ASTNode.JAVADOC);
   [[#variable540c0e20]].setJavadoc(doc);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#540c0ee0]]
final 
12[[#540c0ee0]]
final 
13[[#540c0ee0]]
14[[#540c0ee0]]
final 
21[[#540c0e80]]
rewrite 
22[[#540c0e80]]
rewrite 
23[[#540c0e80]]
fCuRewrite.getASTRewrite() 
24[[#540c0e80]]
rewrite 
31[[#540c0e20]]
newField 
32[[#540c0e20]]
constructor 
33[[#540c0e20]]
fieldDeclaration 
34[[#540c0e20]]
declaration