CloneSet92


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
52530.950block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16373
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java
27292
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayCreation.java
36235
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AssertStatement.java
45164
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BreakStatement.java
57361
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java
65536
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java
75979
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java
85164
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ContinueStatement.java
95333
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java
105272
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ForStatement.java
115322
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IfStatement.java
125192
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberRef.java
136860
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java
145271
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodInvocation.java
155224
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRef.java
165334
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRefParameter.java
175162
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ReturnStatement.java
187607
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java
195248
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperConstructorInvocation.java
205194
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java
215270
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java
225164
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ThisExpression.java
235274
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TryStatement.java
245309
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationFragment.java
255241
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java
Clone Instance
1
Line Count
6
Source Line
373
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java

                                                        {
                // a AnnotationTypeMemberDeclaration may occur inside an Expression - must check cycles
                ASTNode oldChild = this.optionalDefaultValue;
                preReplaceChild(oldChild, defaultValue, DEFAULT_PROPERTY);
                this.optionalDefaultValue = defaultValue;
                postReplaceChild(oldChild, defaultValue, DEFAULT_PROPERTY);
                                                        }


Clone Instance
2
Line Count
7
Source Line
292
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayCreation.java

                                                                 {
                // an ArrayCreation may occur inside an ArrayInitializer
                // must check cycles
                ASTNode oldChild = this.optionalInitializer;
                preReplaceChild(oldChild, initializer, INITIALIZER_PROPERTY);
                this.optionalInitializer = initializer;
                postReplaceChild(oldChild, initializer, INITIALIZER_PROPERTY);
                                                                 }


Clone Instance
3
Line Count
6
Source Line
235
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AssertStatement.java

                                                      {
                // an AsertStatement may occur inside an Expression - must check cycles
                ASTNode oldChild = this.optionalMessageExpression;
                preReplaceChild(oldChild, expression, MESSAGE_PROPERTY);
                this.optionalMessageExpression = expression;
                postReplaceChild(oldChild, expression, MESSAGE_PROPERTY);
                                                      }


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

                                               {
                ASTNode oldChild = this.optionalLabel;
                preReplaceChild(oldChild, label, LABEL_PROPERTY);
                this.optionalLabel = label;
                postReplaceChild(oldChild, label, LABEL_PROPERTY);
                                               }


Clone Instance
5
Line Count
7
Source Line
361
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java

                                                         {
                // a ClassInstanceCreation may occur inside an Expression
                // must check cycles
                ASTNode oldChild = this.optionalExpression;
                preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                this.optionalExpression = expression;
                postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                                                         }


Clone Instance
6
Line Count
5
Source Line
536
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java

                                                                                 {
                ASTNode oldChild = this.optionalAnonymousClassDeclaration;
                preReplaceChild(oldChild, decl, ANONYMOUS_CLASS_DECLARATION_PROPERTY);
                this.optionalAnonymousClassDeclaration = decl;
                postReplaceChild(oldChild, decl, ANONYMOUS_CLASS_DECLARATION_PROPERTY);
                                                                                 }


Clone Instance
7
Line Count
5
Source Line
979
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java

                                                           {
                ASTNode oldChild = this.optionalPackageDeclaration;
                preReplaceChild(oldChild, pkgDecl, PACKAGE_PROPERTY);
                this.optionalPackageDeclaration = pkgDecl;
                postReplaceChild(oldChild, pkgDecl, PACKAGE_PROPERTY);
                                                           }


Clone Instance
8
Line Count
5
Source Line
164
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ContinueStatement.java

                                               {
                ASTNode oldChild = this.optionalLabel;
                preReplaceChild(oldChild, label, LABEL_PROPERTY);
                this.optionalLabel = label;
                postReplaceChild(oldChild, label, LABEL_PROPERTY);
                                               }


Clone Instance
9
Line Count
5
Source Line
333
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java

                                                                                 {
                ASTNode oldChild = this.optionalAnonymousClassDeclaration;
                preReplaceChild(oldChild, decl, ANONYMOUS_CLASS_DECLARATION_PROPERTY);
                this.optionalAnonymousClassDeclaration = decl;
                postReplaceChild(oldChild, decl, ANONYMOUS_CLASS_DECLARATION_PROPERTY);
                                                                                 }


Clone Instance
10
Line Count
5
Source Line
272
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ForStatement.java

                                                         {
                ASTNode oldChild = this.optionalConditionExpression;
                preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                this.optionalConditionExpression = expression;
                postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                                                         }


Clone Instance
11
Line Count
5
Source Line
322
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IfStatement.java

                                                          {
                ASTNode oldChild = this.optionalElseStatement;
                preReplaceChild(oldChild, statement, ELSE_STATEMENT_PROPERTY);
                this.optionalElseStatement = statement;
                postReplaceChild(oldChild, statement, ELSE_STATEMENT_PROPERTY);
                                                          }


Clone Instance
12
Line Count
5
Source Line
192
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberRef.java

                                            {
                ASTNode oldChild = this.optionalQualifier;
                preReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                this.optionalQualifier = name;
                postReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                                            }


Clone Instance
13
Line Count
6
Source Line
860
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java

                                        {
                // a MethodDeclaration may occur in a Block - must check cycles
                ASTNode oldChild = this.optionalBody;
                preReplaceChild(oldChild, body, BODY_PROPERTY);
                this.optionalBody = body;
                postReplaceChild(oldChild, body, BODY_PROPERTY);
                                        }


Clone Instance
14
Line Count
5
Source Line
271
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodInvocation.java

                                                         {
                ASTNode oldChild = this.optionalExpression;
                preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                this.optionalExpression = expression;
                postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                                                         }


Clone Instance
15
Line Count
5
Source Line
224
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRef.java

                                            {
                ASTNode oldChild = this.optionalQualifier;
                preReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                this.optionalQualifier = name;
                postReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                                            }


Clone Instance
16
Line Count
5
Source Line
334
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRefParameter.java

                                             {
                ASTNode oldChild = this.optionalParameterName;
                preReplaceChild(oldChild, name, NAME_PROPERTY);
                this.optionalParameterName = name;
                postReplaceChild(oldChild, name, NAME_PROPERTY);
                                             }


Clone Instance
17
Line Count
5
Source Line
162
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ReturnStatement.java

                                                         {
                ASTNode oldChild = this.optionalExpression;
                preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                this.optionalExpression = expression;
                postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                                                         }


Clone Instance
18
Line Count
7
Source Line
607
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java

                                                           {
                // a SingleVariableDeclaration may occur inside an Expression 
                // must check cycles
                ASTNode oldChild = this.optionalInitializer;
                preReplaceChild(oldChild, initializer, INITIALIZER_PROPERTY);
                this.optionalInitializer = initializer;
                postReplaceChild(oldChild, initializer, INITIALIZER_PROPERTY);
                                                           }


Clone Instance
19
Line Count
5
Source Line
248
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperConstructorInvocation.java

                                                         {
                ASTNode oldChild = this.optionalExpression;
                preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                this.optionalExpression = expression;
                postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                                                         }


Clone Instance
20
Line Count
5
Source Line
194
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java

                                            {
                ASTNode oldChild = this.optionalQualifier;
                preReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                this.optionalQualifier = name;
                postReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                                            }


Clone Instance
21
Line Count
5
Source Line
270
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java

                                            {
                ASTNode oldChild = this.optionalQualifier;
                preReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                this.optionalQualifier = name;
                postReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                                            }


Clone Instance
22
Line Count
5
Source Line
164
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ThisExpression.java

                                            {
                ASTNode oldChild = this.optionalQualifier;
                preReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                this.optionalQualifier = name;
                postReplaceChild(oldChild, name, QUALIFIER_PROPERTY);
                                            }


Clone Instance
23
Line Count
5
Source Line
274
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TryStatement.java

                                            {
                ASTNode oldChild = this.optionalFinallyBody;
                preReplaceChild(oldChild, block, FINALLY_PROPERTY);
                this.optionalFinallyBody = block;
                postReplaceChild(oldChild, block, FINALLY_PROPERTY);
                                            }


Clone Instance
24
Line Count
5
Source Line
309
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationFragment.java

                                                           {
                ASTNode oldChild = this.optionalInitializer;
                preReplaceChild(oldChild, initializer, INITIALIZER_PROPERTY);
                this.optionalInitializer = initializer;
                postReplaceChild(oldChild, initializer, INITIALIZER_PROPERTY);
                                                           }


Clone Instance
25
Line Count
5
Source Line
241
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java

                                        {
                ASTNode oldChild = this.optionalBound;
                preReplaceChild(oldChild, type, BOUND_PROPERTY);
                this.optionalBound = type;
                postReplaceChild(oldChild, type, BOUND_PROPERTY);
                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  // an ArrayCreation may occur inside an ArrayInitializer
  // a SingleVariableDeclaration may occur inside an Expression 
  // a ClassInstanceCreation may occur inside an Expression
  // must check cycles
  // a AnnotationTypeMemberDeclaration may occur inside an Expression - must check cycles
  // an AsertStatement may occur inside an Expression - must check cycles
  // a MethodDeclaration may occur in a Block - must check cycles
  ASTNode oldChild = this. [[#variableba2df9c0]];
  preReplaceChild(oldChild,  [[#variableba2df900]],  [[#variableba2df8a0]]);
  this. [[#variableba2df9c0]]= [[#variableba2df900]];
  postReplaceChild(oldChild,  [[#variableba2df900]],  [[#variableba2df8a0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba2df9c0]]
optionalExpression 
12[[#ba2df9c0]]
optionalInitializer 
13[[#ba2df9c0]]
optionalQualifier 
14[[#ba2df9c0]]
optionalLabel 
15[[#ba2df9c0]]
optionalAnonymousClassDeclaration 
16[[#ba2df9c0]]
optionalDefaultValue 
17[[#ba2df9c0]]
optionalMessageExpression 
18[[#ba2df9c0]]
optionalPackageDeclaration 
19[[#ba2df9c0]]
optionalConditionExpression 
110[[#ba2df9c0]]
optionalElseStatement 
111[[#ba2df9c0]]
optionalBody 
112[[#ba2df9c0]]
optionalParameterName 
113[[#ba2df9c0]]
optionalFinallyBody 
114[[#ba2df9c0]]
optionalBound 
115[[#ba2df9c0]]
optionalInitializer 
116[[#ba2df9c0]]
optionalQualifier 
117[[#ba2df9c0]]
optionalExpression 
118[[#ba2df9c0]]
optionalQualifier 
119[[#ba2df9c0]]
optionalQualifier 
120[[#ba2df9c0]]
optionalExpression 
121[[#ba2df9c0]]
optionalLabel 
122[[#ba2df9c0]]
optionalAnonymousClassDeclaration 
123[[#ba2df9c0]]
optionalQualifier 
124[[#ba2df9c0]]
optionalExpression 
125[[#ba2df9c0]]
optionalInitializer 
21[[#ba2df900]]
expression 
22[[#ba2df900]]
initializer 
23[[#ba2df900]]
name 
24[[#ba2df900]]
label 
25[[#ba2df900]]
decl 
26[[#ba2df900]]
defaultValue 
27[[#ba2df900]]
expression 
28[[#ba2df900]]
pkgDecl 
29[[#ba2df900]]
expression 
210[[#ba2df900]]
statement 
211[[#ba2df900]]
body 
212[[#ba2df900]]
name 
213[[#ba2df900]]
block 
214[[#ba2df900]]
type 
215[[#ba2df900]]
initializer 
216[[#ba2df900]]
name 
217[[#ba2df900]]
expression 
218[[#ba2df900]]
name 
219[[#ba2df900]]
name 
220[[#ba2df900]]
expression 
221[[#ba2df900]]
label 
222[[#ba2df900]]
decl 
223[[#ba2df900]]
name 
224[[#ba2df900]]
expression 
225[[#ba2df900]]
initializer 
31[[#ba2df8a0]]
EXPRESSION_PROPERTY 
32[[#ba2df8a0]]
INITIALIZER_PROPERTY 
33[[#ba2df8a0]]
QUALIFIER_PROPERTY 
34[[#ba2df8a0]]
LABEL_PROPERTY 
35[[#ba2df8a0]]
ANONYMOUS_CLASS_DECLARATION_PROPERTY 
36[[#ba2df8a0]]
DEFAULT_PROPERTY 
37[[#ba2df8a0]]
MESSAGE_PROPERTY 
38[[#ba2df8a0]]
PACKAGE_PROPERTY 
39[[#ba2df8a0]]
EXPRESSION_PROPERTY 
310[[#ba2df8a0]]
ELSE_STATEMENT_PROPERTY 
311[[#ba2df8a0]]
BODY_PROPERTY 
312[[#ba2df8a0]]
NAME_PROPERTY 
313[[#ba2df8a0]]
FINALLY_PROPERTY 
314[[#ba2df8a0]]
BOUND_PROPERTY 
315[[#ba2df8a0]]
INITIALIZER_PROPERTY 
316[[#ba2df8a0]]
QUALIFIER_PROPERTY 
317[[#ba2df8a0]]
EXPRESSION_PROPERTY 
318[[#ba2df8a0]]
QUALIFIER_PROPERTY 
319[[#ba2df8a0]]
QUALIFIER_PROPERTY 
320[[#ba2df8a0]]
EXPRESSION_PROPERTY 
321[[#ba2df8a0]]
LABEL_PROPERTY 
322[[#ba2df8a0]]
ANONYMOUS_CLASS_DECLARATION_PROPERTY 
323[[#ba2df8a0]]
QUALIFIER_PROPERTY 
324[[#ba2df8a0]]
EXPRESSION_PROPERTY 
325[[#ba2df8a0]]
INITIALIZER_PROPERTY