CloneSet4150


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4310.973class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14202
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredField.java
2451
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredImport.java
34103
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredLocalVariable.java
Clone Instance
1
Line Count
4
Source Line
202
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredField.java

/*
 * Update the declarationSourceEnd of the corresponding parse node
 */
public void updateSourceEndIfNecessary(int bodyStart, int bodyEnd) {
        if (this.fieldDeclaration.declarationSourceEnd == 0) {
                this.fieldDeclaration.declarationSourceEnd = bodyEnd;
                this.fieldDeclaration.declarationEnd = bodyEnd;
        }
}


Clone Instance
2
Line Count
4
Source Line
51
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredImport.java

/*
 * Update the declarationSourceEnd of the corresponding parse node
 */
public void updateSourceEndIfNecessary(int bodyStart, int bodyEnd) {
        if (this.importReference.declarationSourceEnd == 0) {
                this.importReference.declarationSourceEnd = bodyEnd;
                this.importReference.declarationEnd = bodyEnd;
        }
}


Clone Instance
3
Line Count
4
Source Line
103
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/RecoveredLocalVariable.java

/*
 * Update the declarationSourceEnd of the corresponding parse node
 */
public void updateSourceEndIfNecessary(int bodyStart, int bodyEnd) {
        if (this.localDeclaration.declarationSourceEnd == 0) {
                this.localDeclaration.declarationSourceEnd = bodyEnd;
                this.localDeclaration.declarationEnd = bodyEnd;
        }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/*
 * Update the declarationSourceEnd of the corresponding parse node
 */
public void updateSourceEndIfNecessary(int bodyStart, int bodyEnd) {
  if (this. [[#variableb2595440]].declarationSourceEnd == 0) {
    this. [[#variableb2595440]].declarationSourceEnd = bodyEnd;
    this. [[#variableb2595440]].declarationEnd = bodyEnd;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2595440]]
localDeclaration 
12[[#b2595440]]
importReference 
13[[#b2595440]]
fieldDeclaration