| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 9 | 3 | 0.962 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 317 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java |
| 2 | 11 | 173 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CastExpression.java |
| 3 | 11 | 302 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/FieldDeclaration.java |
| 4 | 11 | 664 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodDeclaration.java |
| 5 | 11 | 241 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodRefParameter.java |
| 6 | 11 | 497 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java |
| 7 | 11 | 148 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeLiteral.java |
| 8 | 11 | 367 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationExpression.java |
| 9 | 11 | 370 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/VariableDeclarationStatement.java |
| ||||
if (this.memberType == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.memberType == null) {
preLazyInit();
this.memberType = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.memberType, TYPE_PROPERTY);
}
}
}
return this.memberType;
|
| ||||
if (this.type == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.type == null) {
preLazyInit();
this.type = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.type, TYPE_PROPERTY);
}
}
}
return this.type;
|
| ||||
if (this.baseType == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.baseType == null) {
preLazyInit();
this.baseType = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.baseType, TYPE_PROPERTY);
}
}
}
return this.baseType;
|
| ||||
if (this.returnType == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.returnType == null) {
preLazyInit();
this.returnType = this.ast.newPrimitiveType(PrimitiveType.VOID);
postLazyInit(this.returnType, RETURN_TYPE_PROPERTY);
}
}
}
return this.returnType;
|
| ||||
if (this.type == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.type == null) {
preLazyInit();
this.type = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.type, TYPE_PROPERTY);
}
}
}
return this.type;
|
| ||||
if (this.type == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.type == null) {
preLazyInit();
this.type = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.type, TYPE_PROPERTY);
}
}
}
return this.type;
|
| ||||
if (this.type == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.type == null) {
preLazyInit();
this.type = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.type, TYPE_PROPERTY);
}
}
}
return this.type;
|
| ||||
if (this.baseType == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.baseType == null) {
preLazyInit();
this.baseType = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.baseType, TYPE_PROPERTY);
}
}
}
return this.baseType;
|
| ||||
if (this.baseType == null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this.baseType == null) {
preLazyInit();
this.baseType = this.ast.newPrimitiveType(PrimitiveType.INT);
postLazyInit(this.baseType, TYPE_PROPERTY);
}
}
}
return this.baseType;
|
| |||
if (this. [[#variable98777d00]]== null) {
// lazy init must be thread-safe for readers
synchronized (this ) {
if (this. [[#variable98777d00]]== null) {
preLazyInit();
this. [[#variable98777d00]]= this.ast.newPrimitiveType(PrimitiveType. [[#variable621522e0]]);
postLazyInit(this. [[#variable98777d00]], [[#variable98777da0]]);
}
}
}
return this. [[#variable98777d00]];
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#98777d00]] | type |
| 1 | 2 | [[#98777d00]] | baseType |
| 1 | 3 | [[#98777d00]] | memberType |
| 1 | 4 | [[#98777d00]] | returnType |
| 1 | 5 | [[#98777d00]] | type |
| 1 | 6 | [[#98777d00]] | type |
| 1 | 7 | [[#98777d00]] | baseType |
| 1 | 8 | [[#98777d00]] | type |
| 1 | 9 | [[#98777d00]] | baseType |
| 2 | 1 | [[#621522e0]] | INT |
| 2 | 2 | [[#621522e0]] | INT |
| 2 | 3 | [[#621522e0]] | INT |
| 2 | 4 | [[#621522e0]] | VOID |
| 2 | 5 | [[#621522e0]] | INT |
| 2 | 6 | [[#621522e0]] | INT |
| 2 | 7 | [[#621522e0]] | INT |
| 2 | 8 | [[#621522e0]] | INT |
| 2 | 9 | [[#621522e0]] | INT |
| 3 | 1 | [[#98777da0]] | TYPE_PROPERTY |
| 3 | 2 | [[#98777da0]] | TYPE_PROPERTY |
| 3 | 3 | [[#98777da0]] | TYPE_PROPERTY |
| 3 | 4 | [[#98777da0]] | RETURN_TYPE_PROPERTY |
| 3 | 5 | [[#98777da0]] | TYPE_PROPERTY |
| 3 | 6 | [[#98777da0]] | TYPE_PROPERTY |
| 3 | 7 | [[#98777da0]] | TYPE_PROPERTY |
| 3 | 8 | [[#98777da0]] | TYPE_PROPERTY |
| 3 | 9 | [[#98777da0]] | TYPE_PROPERTY |