Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 2 | 0.973 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 588 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java |
2 | 1 | 327 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractJavaScanner.java |
| ||||
highlighting.setTextAttribute(new TextAttribute(color, oldAttr.getBackground(), oldAttr.getStyle())); |
| ||||
token.setData(new TextAttribute(color, oldAttr.getBackground(), oldAttr.getStyle())); |
| |||
[[#variableb4a59940]]. [[#variableb4a598c0]](new TextAttribute(color, oldAttr.getBackground(), oldAttr.getStyle())); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4a59940]] | token |
1 | 2 | [[#b4a59940]] | highlighting |
2 | 1 | [[#b4a598c0]] | setData |
2 | 2 | [[#b4a598c0]] | setTextAttribute |