CloneSet43


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
83130.956block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18341
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java
29247
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayCreation.java
38177
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayType.java
49201
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AssertStatement.java
58196
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CastExpression.java
68199
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CatchClause.java
78239
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CatchClause.java
88247
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DoStatement.java
98221
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java
108301
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java
118178
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ExpressionStatement.java
128325
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldDeclaration.java
138332
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ForStatement.java
148273
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IfStatement.java
158270
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ImportDeclaration.java
168284
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Initializer.java
178235
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InstanceofExpression.java
188248
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LabeledStatement.java
198213
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java
208265
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRefParameter.java
218208
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ParameterizedType.java
228217
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedType.java
238521
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java
248248
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java
258239
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SynchronizedStatement.java
268231
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TryStatement.java
278171
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeLiteral.java
288215
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeParameter.java
298391
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationExpression.java
308394
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationStatement.java
318248
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WhileStatement.java
Clone Instance
1
Line Count
8
Source Line
341
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.memberType;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.memberType = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


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

                                            {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                // an ArrayCreation cannot occur inside a ArrayType - cycles not possible
                ASTNode oldChild = this.arrayType;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.arrayType = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                            }


Clone Instance
3
Line Count
8
Source Line
177
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ArrayType.java

                                                         {
                if (componentType == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.componentType;
                preReplaceChild(oldChild, componentType, COMPONENT_TYPE_PROPERTY);
                this.componentType = componentType;
                postReplaceChild(oldChild, componentType, COMPONENT_TYPE_PROPERTY);
                                                         }


Clone Instance
4
Line Count
9
Source Line
201
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AssertStatement.java

                                                         {
                if (expression == null) {
                        throw new IllegalArgumentException();
                }
                // an AssertStatement may occur inside an Expression - must check cycles
                ASTNode oldChild = this.expression;
                preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                this.expression = expression;
                postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                                                         }


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

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.type;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.type = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
6
Line Count
8
Source Line
199
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CatchClause.java

                                                                      {
                if (exception == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.exceptionDecl;
                preReplaceChild(oldChild, exception, EXCEPTION_PROPERTY);
                this.exceptionDecl = exception;
                postReplaceChild(oldChild, exception, EXCEPTION_PROPERTY);
                                                                      }


Clone Instance
7
Line Count
8
Source Line
239
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CatchClause.java

                                        {
                if (body == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, body, BODY_PROPERTY);
                this.body = body;
                postReplaceChild(oldChild, body, BODY_PROPERTY);
                                        }


Clone Instance
8
Line Count
8
Source Line
247
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DoStatement.java

                                                 {
                if (statement == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, statement, BODY_PROPERTY);
                this.body = statement;
                postReplaceChild(oldChild, statement, BODY_PROPERTY);
                                                 }


Clone Instance
9
Line Count
8
Source Line
221
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java

                                                                      {
                if (parameter == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.parameter;
                preReplaceChild(oldChild, parameter, PARAMETER_PROPERTY);
                this.parameter = parameter;
                postReplaceChild(oldChild, parameter, PARAMETER_PROPERTY);
                                                                      }


Clone Instance
10
Line Count
8
Source Line
301
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java

                                                 {
                if (statement == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, statement, BODY_PROPERTY);
                this.body = statement;
                postReplaceChild(oldChild, statement, BODY_PROPERTY);
                                                 }


Clone Instance
11
Line Count
8
Source Line
178
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ExpressionStatement.java

                                                         {
                if (expression == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.expression;
                preReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                this.expression = expression;
                postReplaceChild(oldChild, expression, EXPRESSION_PROPERTY);
                                                         }


Clone Instance
12
Line Count
8
Source Line
325
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldDeclaration.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.baseType;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.baseType = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
13
Line Count
8
Source Line
332
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ForStatement.java

                                                 {
                if (statement == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, statement, BODY_PROPERTY);
                this.body = statement;
                postReplaceChild(oldChild, statement, BODY_PROPERTY);
                                                 }


Clone Instance
14
Line Count
8
Source Line
273
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/IfStatement.java

                                                          {
                if (statement == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.thenStatement;
                preReplaceChild(oldChild, statement, THEN_STATEMENT_PROPERTY);
                this.thenStatement = statement;
                postReplaceChild(oldChild, statement, THEN_STATEMENT_PROPERTY);
                                                          }


Clone Instance
15
Line Count
8
Source Line
270
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ImportDeclaration.java

                                       {
                if (name == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.importName;
                preReplaceChild(oldChild, name, NAME_PROPERTY);
                this.importName = name;
                postReplaceChild(oldChild, name, NAME_PROPERTY);
                                       }


Clone Instance
16
Line Count
8
Source Line
284
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Initializer.java

                                        {
                if (body == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, body, BODY_PROPERTY);
                this.body = body;
                postReplaceChild(oldChild, body, BODY_PROPERTY);
                                        }


Clone Instance
17
Line Count
8
Source Line
235
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InstanceofExpression.java

                                                        {
                if (referenceType == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.rightOperand;
                preReplaceChild(oldChild, referenceType, RIGHT_OPERAND_PROPERTY);
                this.rightOperand = referenceType;
                postReplaceChild(oldChild, referenceType, RIGHT_OPERAND_PROPERTY);
                                                        }


Clone Instance
18
Line Count
8
Source Line
248
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LabeledStatement.java

                                                 {
                if (statement == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, statement, BODY_PROPERTY);
                this.body = statement;
                postReplaceChild(oldChild, statement, BODY_PROPERTY);
                                                 }


Clone Instance
19
Line Count
8
Source Line
213
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java

                                             {
                if (name == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.name;
                preReplaceChild(oldChild, name, NAME_PROPERTY);
                this.name = name;
                postReplaceChild(oldChild, name, NAME_PROPERTY);
                                             }


Clone Instance
20
Line Count
8
Source Line
265
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRefParameter.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.type;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.type = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
21
Line Count
8
Source Line
208
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ParameterizedType.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.type;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.type = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
22
Line Count
8
Source Line
217
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/QualifiedType.java

                                            {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.qualifier;
                preReplaceChild(oldChild, type, QUALIFIER_PROPERTY);
                this.qualifier = type;
                postReplaceChild(oldChild, type, QUALIFIER_PROPERTY);
                                            }


Clone Instance
23
Line Count
8
Source Line
521
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.type;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.type = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
24
Line Count
8
Source Line
248
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java

                                                  {
                if (fieldName == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.fieldName;
                preReplaceChild(oldChild, fieldName, NAME_PROPERTY);
                this.fieldName = fieldName;
                postReplaceChild(oldChild, fieldName, NAME_PROPERTY);
                                                  }


Clone Instance
25
Line Count
8
Source Line
239
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SynchronizedStatement.java

                                         {
                if (block == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, block, BODY_PROPERTY);
                this.body = block;
                postReplaceChild(oldChild, block, BODY_PROPERTY);
                                         }


Clone Instance
26
Line Count
8
Source Line
231
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TryStatement.java

                                        {
                if (body == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, body, BODY_PROPERTY);
                this.body = body;
                postReplaceChild(oldChild, body, BODY_PROPERTY);
                                        }


Clone Instance
27
Line Count
8
Source Line
171
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeLiteral.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.type;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.type = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
28
Line Count
8
Source Line
215
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeParameter.java

                                                 {
                if (typeName == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.typeVariableName;
                preReplaceChild(oldChild, typeName, NAME_PROPERTY);
                this.typeVariableName = typeName;
                postReplaceChild(oldChild, typeName, NAME_PROPERTY);
                                                 }


Clone Instance
29
Line Count
8
Source Line
391
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationExpression.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.baseType;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.baseType = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
30
Line Count
8
Source Line
394
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationStatement.java

                                       {
                if (type == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.baseType;
                preReplaceChild(oldChild, type, TYPE_PROPERTY);
                this.baseType = type;
                postReplaceChild(oldChild, type, TYPE_PROPERTY);
                                       }


Clone Instance
31
Line Count
8
Source Line
248
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WhileStatement.java

                                                 {
                if (statement == null) {
                        throw new IllegalArgumentException();
                }
                ASTNode oldChild = this.body;
                preReplaceChild(oldChild, statement, BODY_PROPERTY);
                this.body = statement;
                postReplaceChild(oldChild, statement, BODY_PROPERTY);
                                                 }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  if ( [[#variableb95c34a0]]== null) {
    throw new IllegalArgumentException();
  }
  // an AssertStatement may occur inside an Expression - must check cycles
  // an ArrayCreation cannot occur inside a ArrayType - cycles not possible
  ASTNode oldChild = this. [[#variableb95c3560]];
  preReplaceChild(oldChild,  [[#variableb95c34a0]],  [[#variableb95c34e0]]);
  this. [[#variableb95c3560]]= [[#variableb95c34a0]];
  postReplaceChild(oldChild,  [[#variableb95c34a0]],  [[#variableb95c34e0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b95c34a0]]
name 
12[[#b95c34a0]]
block 
13[[#b95c34a0]]
type 
14[[#b95c34a0]]
expression 
15[[#b95c34a0]]
body 
16[[#b95c34a0]]
type 
17[[#b95c34a0]]
fieldName 
18[[#b95c34a0]]
type 
19[[#b95c34a0]]
referenceType 
110[[#b95c34a0]]
typeName 
111[[#b95c34a0]]
statement 
112[[#b95c34a0]]
name 
113[[#b95c34a0]]
statement 
114[[#b95c34a0]]
parameter 
115[[#b95c34a0]]
exception 
116[[#b95c34a0]]
componentType 
117[[#b95c34a0]]
type 
118[[#b95c34a0]]
type 
119[[#b95c34a0]]
type 
120[[#b95c34a0]]
statement 
121[[#b95c34a0]]
expression 
122[[#b95c34a0]]
statement 
123[[#b95c34a0]]
body 
124[[#b95c34a0]]
type 
125[[#b95c34a0]]
statement 
126[[#b95c34a0]]
type 
127[[#b95c34a0]]
statement 
128[[#b95c34a0]]
type 
129[[#b95c34a0]]
type 
130[[#b95c34a0]]
type 
131[[#b95c34a0]]
body 
21[[#b95c3560]]
name 
22[[#b95c3560]]
body 
23[[#b95c3560]]
type 
24[[#b95c3560]]
expression 
25[[#b95c3560]]
body 
26[[#b95c3560]]
qualifier 
27[[#b95c3560]]
fieldName 
28[[#b95c3560]]
baseType 
29[[#b95c3560]]
rightOperand 
210[[#b95c3560]]
typeVariableName 
211[[#b95c3560]]
body 
212[[#b95c3560]]
importName 
213[[#b95c3560]]
thenStatement 
214[[#b95c3560]]
parameter 
215[[#b95c3560]]
exceptionDecl 
216[[#b95c3560]]
componentType 
217[[#b95c3560]]
memberType 
218[[#b95c3560]]
arrayType 
219[[#b95c3560]]
type 
220[[#b95c3560]]
body 
221[[#b95c3560]]
expression 
222[[#b95c3560]]
body 
223[[#b95c3560]]
body 
224[[#b95c3560]]
baseType 
225[[#b95c3560]]
body 
226[[#b95c3560]]
type 
227[[#b95c3560]]
body 
228[[#b95c3560]]
type 
229[[#b95c3560]]
type 
230[[#b95c3560]]
baseType 
231[[#b95c3560]]
body 
31[[#b95c34e0]]
NAME_PROPERTY 
32[[#b95c34e0]]
BODY_PROPERTY 
33[[#b95c34e0]]
TYPE_PROPERTY 
34[[#b95c34e0]]
EXPRESSION_PROPERTY 
35[[#b95c34e0]]
BODY_PROPERTY 
36[[#b95c34e0]]
QUALIFIER_PROPERTY 
37[[#b95c34e0]]
NAME_PROPERTY 
38[[#b95c34e0]]
TYPE_PROPERTY 
39[[#b95c34e0]]
RIGHT_OPERAND_PROPERTY 
310[[#b95c34e0]]
NAME_PROPERTY 
311[[#b95c34e0]]
BODY_PROPERTY 
312[[#b95c34e0]]
NAME_PROPERTY 
313[[#b95c34e0]]
THEN_STATEMENT_PROPERTY 
314[[#b95c34e0]]
PARAMETER_PROPERTY 
315[[#b95c34e0]]
EXCEPTION_PROPERTY 
316[[#b95c34e0]]
COMPONENT_TYPE_PROPERTY 
317[[#b95c34e0]]
TYPE_PROPERTY 
318[[#b95c34e0]]
TYPE_PROPERTY 
319[[#b95c34e0]]
TYPE_PROPERTY 
320[[#b95c34e0]]
BODY_PROPERTY 
321[[#b95c34e0]]
EXPRESSION_PROPERTY 
322[[#b95c34e0]]
BODY_PROPERTY 
323[[#b95c34e0]]
BODY_PROPERTY 
324[[#b95c34e0]]
TYPE_PROPERTY 
325[[#b95c34e0]]
BODY_PROPERTY 
326[[#b95c34e0]]
TYPE_PROPERTY 
327[[#b95c34e0]]
BODY_PROPERTY 
328[[#b95c34e0]]
TYPE_PROPERTY 
329[[#b95c34e0]]
TYPE_PROPERTY 
330[[#b95c34e0]]
TYPE_PROPERTY 
331[[#b95c34e0]]
BODY_PROPERTY