Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.974 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 48 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateFieldOperation.java |
2 | 2 | 49 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateMethodOperation.java |
3 | 2 | 40 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateTypeOperation.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); } |
| ||||
/** * 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); } |
| ||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5fe491a0]] | CreateTypeOperation |
1 | 2 | [[#5fe491a0]] | CreateMethodOperation |
1 | 3 | [[#5fe491a0]] | CreateFieldOperation |
2 | 1 | [[#5fe498c0]] | IJavaElement |
2 | 2 | [[#5fe498c0]] | IType |
2 | 3 | [[#5fe498c0]] | IType |