CloneSet6336


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2320.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1248
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateFieldOperation.java
2249
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateMethodOperation.java
3240
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateTypeOperation.java
Clone Instance
1
Line Count
2
Source Line
48
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateFieldOperation.java

/**
 * When executed, this operation will create a field with the given name
 * in the given type with the specified source.
 *
 * <p>By default the new field is positioned after the last existing field
 * declaration, or as the first member in the type if there are no
 * field declarations.
 */
public CreateFieldOperation(IType parentElement, String source, boolean force) {
        super(parentElement, source, force);
}


Clone Instance
2
Line Count
2
Source Line
49
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateMethodOperation.java

/**
 * When executed, this operation will create a method
 * in the given type with the specified source.
 */
public CreateMethodOperation(IType parentElement, String source, boolean force) {
        super(parentElement, source, force);
}


Clone Instance
3
Line Count
2
Source Line
40
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateTypeOperation.java

/**
 * When executed, this operation will create a type unit
 * in the given parent element (a compilation unit, type)
 */
public CreateTypeOperation(IJavaElement parentElement, String source, boolean force) {
        super(parentElement, source, force);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * When executed, this operation will create a type unit
 * in the given parent element (a compilation unit, type)
 */
/**
 * When executed, this operation will create a method
 * in the given type with the specified source.
 */
/**
 * When executed, this operation will create a field with the given name
 * in the given type with the specified source.
 *
 * <p>By default the new field is positioned after the last existing field
 * declaration, or as the first member in the type if there are no
 * field declarations.
 */
public [[#variable5fe491a0]]( [[#variable5fe498c0]] parentElement, String source, boolean force) {
  super(parentElement, source, force);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5fe491a0]]
CreateTypeOperation 
12[[#5fe491a0]]
CreateMethodOperation 
13[[#5fe491a0]]
CreateFieldOperation 
21[[#5fe498c0]]
IJavaElement 
22[[#5fe498c0]]
IType 
23[[#5fe498c0]]
IType