CloneSet2349


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10430.952class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11032
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java
2944
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java
3755
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java
41076
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java
Clone Instance
1
Line Count
10
Source Line
32
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java

        public boolean visit(
                ConstructorDeclaration constructorDeclaration,
                ClassScope scope) {

                if (constructorDeclaration.declarationSourceStart <= position &&
                           position <= constructorDeclaration.declarationSourceEnd) {
                                found = constructorDeclaration;
                                return false;
                }
                return true;
        }


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

        public boolean visit(
                FieldDeclaration fieldDeclaration,
                MethodScope scope) {
                        if (fieldDeclaration.declarationSourceStart <= position &&
                                   position <= fieldDeclaration.declarationSourceEnd) {
                                        found = fieldDeclaration;
                                        return false;
                        }
                        return true;
        }


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

        public boolean visit(Initializer initializer, MethodScope scope) {
                if (initializer.declarationSourceStart <= position &&
                           position <= initializer.declarationSourceEnd) {
                                found = initializer;
                                return false;
                }
                return true;
        }


Clone Instance
4
Line Count
10
Source Line
76
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/NodeSearcher.java

        public boolean visit(
                MethodDeclaration methodDeclaration,
                ClassScope scope) {

                if (methodDeclaration.declarationSourceStart <= position &&
                           position <= methodDeclaration.declarationSourceEnd) {
                                found = methodDeclaration;
                                return false;
                }
                return true;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

public boolean visit( [[#variablea5226da0]]  [[#variablea5226d00]], [[#variablea5226c80]] scope) {
  if ( [[#variablea5226d00]].declarationSourceStart <= position && position <= [[#variablea5226d00]].declarationSourceEnd) {
    found = [[#variablea5226d00]];
    return false;
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a5226da0]]
ConstructorDeclaration 
12[[#a5226da0]]
FieldDeclaration 
13[[#a5226da0]]
Initializer 
14[[#a5226da0]]
MethodDeclaration 
21[[#a5226d00]]
constructorDeclaration 
22[[#a5226d00]]
fieldDeclaration 
23[[#a5226d00]]
initializer 
24[[#a5226d00]]
methodDeclaration 
31[[#a5226c80]]
ClassScope 
32[[#a5226c80]]
MethodScope 
33[[#a5226c80]]
MethodScope 
34[[#a5226c80]]
ClassScope