CloneSet1745


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8330.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18208
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java
28234
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java
38252
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java
Clone Instance
1
Line Count
8
Source Line
208
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java

/**
 * @see IDOMFactory#createImport(String)
 */
public IDOMImport createImport(char[] sourceCode) {
        initializeBuild(sourceCode, false, false, true);
        getParser(options).parseImport(sourceCode);
        if (fAbort || fNode == null) {
                return null;
        }
        fNode.normalize(this );
        return (IDOMImport) fNode;
}


Clone Instance
2
Line Count
8
Source Line
234
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java

/**
 * @see IDOMFactory#createMethod(String)
 */
public IDOMMethod createMethod(char[] sourceCode) {
        initializeBuild(sourceCode, false, false, true);
        getParser(options).parseMethod(sourceCode);
        if (fAbort || fNode == null) {
                return null;
        }
        fNode.normalize(this );
        return (IDOMMethod) fNode;
}


Clone Instance
3
Line Count
8
Source Line
252
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMBuilder.java

/**
 * @see IDOMFactory#createPackage(String)
 */
public IDOMPackage createPackage(char[] sourceCode) {
        initializeBuild(sourceCode, false, false, true);
        getParser(options).parsePackage(sourceCode);
        if (fAbort || fNode == null) {
                return null;
        }
        fNode.normalize(this );
        return (IDOMPackage) fNode;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * @see IDOMFactory#createImport(String)
 */
/**
 * @see IDOMFactory#createMethod(String)
 */
/**
 * @see IDOMFactory#createPackage(String)
 */
public [[#variable5fb045e0]]  [[#variable5fb04560]](char[] sourceCode) {
  initializeBuild(sourceCode, false, false, true);
  getParser(options). [[#variable5fb04460]](sourceCode);
  if (fAbort || fNode == null) {
    return null;
  }
  fNode.normalize(this );
  return ( [[#variable5fb045e0]]) fNode;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5fb045e0]]
IDOMImport 
12[[#5fb045e0]]
IDOMMethod 
13[[#5fb045e0]]
IDOMPackage 
21[[#5fb04560]]
createImport 
22[[#5fb04560]]
createMethod 
23[[#5fb04560]]
createPackage 
31[[#5fb04460]]
parseImport 
32[[#5fb04460]]
parseMethod 
33[[#5fb04460]]
parsePackage