| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 13 | 2 | 1 | 0.995 | class_body_declarations[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 13 | 184 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaNode.java |
| 2 | 18 | 90 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java |
| ||||
public void setContent(byte[] content) {
super.setContent(content);
nodeChanged(this );
}
public ITypedElement replace(ITypedElement child, ITypedElement other) {
nodeChanged(this );
return child;
}
void nodeChanged(JavaNode node) {
if (fParent != null)
fParent.nodeChanged(node);
}
|
| ||||
public void setContent(byte[] content) {
super.setContent(content);
nodeChanged(this );
}
public ITypedElement replace(ITypedElement child, ITypedElement other) {
/* commented out for #34745
ITypedElement e= super.replace(child, other);
nodeChanged(this);
return e;
*/
nodeChanged(this );
return child;
}
void nodeChanged(PropertyNode node) {
if (fParent != null)
fParent.nodeChanged(node);
}
|
| |||
public void setContent(byte[] content) {
super.setContent(content);
nodeChanged(this );
}
public ITypedElement replace(ITypedElement child, ITypedElement other) {
/* commented out for #34745
ITypedElement e= super.replace(child, other);
nodeChanged(this);
return e;
*/
nodeChanged(this );
return child;
}
void nodeChanged( [[#variable614ff740]] node) {
if (fParent != null)
fParent.nodeChanged(node);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#614ff740]] | JavaNode |
| 1 | 2 | [[#614ff740]] | PropertyNode |