Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 4 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 108 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
2 | 2 | 112 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java |
| ||||
protected int getIntAttribute(ASTNode parent, StructuralPropertyDescriptor childProperty) { return ((Integer) getAttribute(parent, childProperty)).intValue(); } |
| ||||
protected boolean getBooleanAttribute(ASTNode parent, StructuralPropertyDescriptor childProperty) { return ((Boolean) getAttribute(parent, childProperty)).booleanValue(); } |
| |||
protected [[#variable5a249be0]] [[#variable5a249b60]](ASTNode parent, StructuralPropertyDescriptor childProperty) { return (( [[#variable5a249ae0]]) getAttribute(parent, childProperty)). [[#variable5a2499e0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a249be0]] | int |
1 | 2 | [[#5a249be0]] | boolean |
2 | 1 | [[#5a249b60]] | getIntAttribute |
2 | 2 | [[#5a249b60]] | getBooleanAttribute |
3 | 1 | [[#5a249ae0]] | Integer |
3 | 2 | [[#5a249ae0]] | Boolean |
4 | 1 | [[#5a2499e0]] | intValue |
4 | 2 | [[#5a2499e0]] | booleanValue |