CloneSet1022


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4540.971statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14213
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeDeclaration.java
24236
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java
34223
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java
44229
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java
54246
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumDeclaration.java
Clone Instance
1
Line Count
4
Source Line
213
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeDeclaration.java

                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setJavadoc(
                        (Javadoc) ASTNode.copySubtree(target, getJavadoc()));
                result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers()));


Clone Instance
2
Line Count
4
Source Line
236
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java

                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setJavadoc(
                        (Javadoc) ASTNode.copySubtree(target, getJavadoc()));
                result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers()));


Clone Instance
3
Line Count
4
Source Line
223
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java

                // n.b do not copy line number table or messages
                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setPackage(
                        (PackageDeclaration) ASTNode.copySubtree(target, getPackage()));
                result.imports().addAll(ASTNode.copySubtrees(target, imports()));


Clone Instance
4
Line Count
4
Source Line
229
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java

                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setJavadoc(
                        (Javadoc) ASTNode.copySubtree(target, getJavadoc()));
                result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers()));


Clone Instance
5
Line Count
4
Source Line
246
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumDeclaration.java

                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setJavadoc(
                        (Javadoc) ASTNode.copySubtree(target, getJavadoc()));
                result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers()));


Clone AbstractionParameter Count: 4Parameter Bindings

// n.b do not copy line number table or messages
result.setSourceRange(this.getStartPosition(), this.getLength());
result. [[#variable95dd1fe0]](( [[#variable95dd1f60]]) ASTNode.copySubtree(target,  [[#variable95dd1f20]]()));
result. [[#variable95dd1100]]().addAll(ASTNode.copySubtrees(target,  [[#variable95dd1100]]()));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95dd1fe0]]
setJavadoc 
12[[#95dd1fe0]]
setPackage 
13[[#95dd1fe0]]
setJavadoc 
14[[#95dd1fe0]]
setJavadoc 
15[[#95dd1fe0]]
setJavadoc 
21[[#95dd1f60]]
Javadoc 
22[[#95dd1f60]]
PackageDeclaration 
23[[#95dd1f60]]
Javadoc 
24[[#95dd1f60]]
Javadoc 
25[[#95dd1f60]]
Javadoc 
31[[#95dd1f20]]
getJavadoc 
32[[#95dd1f20]]
getPackage 
33[[#95dd1f20]]
getJavadoc 
34[[#95dd1f20]]
getJavadoc 
35[[#95dd1f20]]
getJavadoc 
41[[#95dd1100]]
modifiers 
42[[#95dd1100]]
imports 
43[[#95dd1100]]
modifiers 
44[[#95dd1100]]
modifiers 
45[[#95dd1100]]
modifiers