CloneSet2602


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7330.961statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17177
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AssertStatement.java
27410
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java
37470
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java
Clone Instance
1
Line Count
7
Source Line
177
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AssertStatement.java

                if (this.expression == null) {
                        // lazy init must be thread-safe for readers
                        synchronized (this ) {
                                if (this.expression == null) {
                                        preLazyInit();
                                        this.expression = new SimpleName(this.ast);
                                        postLazyInit(this.expression, EXPRESSION_PROPERTY);
                                }
                        }
                }


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

                if (this.typeName == null) {
                        // lazy init must be thread-safe for readers
                        synchronized (this ) {
                                if (this.typeName == null) {
                                        preLazyInit();
                                        this.typeName = new SimpleName(this.ast);
                                        postLazyInit(this.typeName, NAME_PROPERTY);
                                }
                        }
                }


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

                if (this.type == null) {
                        // lazy init must be thread-safe for readers
                        synchronized (this ) {
                                if (this.type == null) {
                                        preLazyInit();
                                        this.type = new SimpleType(this.ast);
                                        postLazyInit(this.type, TYPE_PROPERTY);
                                }
                        }
                }


Clone AbstractionParameter Count: 3Parameter Bindings

if (this. [[#variable7d181d60]]== null) {
  // lazy init must be thread-safe for readers
  synchronized (this ) {
    if (this. [[#variable7d181d60]]== null) {
      preLazyInit();
      this. [[#variable7d181d60]]= new [[#variable53c67fe0]](this.ast);
      postLazyInit(this. [[#variable7d181d60]],  [[#variable7d181ca0]]);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d181d60]]
expression 
12[[#7d181d60]]
type 
13[[#7d181d60]]
typeName 
21[[#53c67fe0]]
SimpleName 
22[[#53c67fe0]]
SimpleType 
23[[#53c67fe0]]
SimpleName 
31[[#7d181ca0]]
EXPRESSION_PROPERTY 
32[[#7d181ca0]]
TYPE_PROPERTY 
33[[#7d181ca0]]
NAME_PROPERTY