CloneSet8297


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.965class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18113
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateImportOperation.java
2876
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreatePackageDeclarationOperation.java
Clone Instance
1
Line Count
8
Source Line
113
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateImportOperation.java

/**
 * @see CreateElementInCUOperation#generateResultHandle
 */
protected IJavaElement generateResultHandle() {
        return getCompilationUnit().getImport(this.importName);
}

/**
 * @see CreateElementInCUOperation#getMainTaskName()
 */
public String getMainTaskName() {
        return Messages.operation_createImportsProgress;
}


Clone Instance
2
Line Count
8
Source Line
76
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreatePackageDeclarationOperation.java

/**
 * Creates and returns the handle for the element this operation created.
 */
protected IJavaElement generateResultHandle() {
        return getCompilationUnit().getPackageDeclaration(this.name);
}

/**
 * @see CreateElementInCUOperation#getMainTaskName()
 */
public String getMainTaskName() {
        return Messages.operation_createPackageProgress;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * @see CreateElementInCUOperation#generateResultHandle
 */
/**
 * Creates and returns the handle for the element this operation created.
 */
protected IJavaElement generateResultHandle() {
  return getCompilationUnit(). [[#variablea15b98c0]](this. [[#variablebb600340]]);
}

/**
 * @see CreateElementInCUOperation#getMainTaskName()
 */
public String getMainTaskName() {
  return Messages. [[#variablebb6001a0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a15b98c0]]
getImport 
12[[#a15b98c0]]
getPackageDeclaration 
21[[#bb600340]]
importName 
22[[#bb600340]]
name 
31[[#bb6001a0]]
operation_createImportsProgress 
32[[#bb6001a0]]
operation_createPackageProgress