Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.990 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 601 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java |
2 | 3 | 343 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractJavaScanner.java |
| ||||
boolean activeValue = (oldAttr.getStyle()& styleAttribute) == styleAttribute; if (activeValue != eventValue) highlighting.setTextAttribute(new TextAttribute(oldAttr.getForeground(), oldAttr.getBackground(), eventValue ? oldAttr.getStyle()| styleAttribute: oldAttr.getStyle()& ~styleAttribute)); |
| ||||
boolean activeValue = (oldAttr.getStyle()& styleAttribute) == styleAttribute; if (activeValue != eventValue) token.setData(new TextAttribute(oldAttr.getForeground(), oldAttr.getBackground(), eventValue ? oldAttr.getStyle()| styleAttribute: oldAttr.getStyle()& ~styleAttribute)); |
| |||
boolean activeValue = (oldAttr.getStyle()&styleAttribute) == styleAttribute; if (activeValue != eventValue) [[#variable58111bc0]]. [[#variableb3606f00]](new TextAttribute(oldAttr.getForeground(), oldAttr.getBackground(), eventValue ? oldAttr.getStyle()|styleAttribute: oldAttr.getStyle()& ~styleAttribute)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58111bc0]] | highlighting |
1 | 2 | [[#58111bc0]] | token |
2 | 1 | [[#b3606f00]] | setTextAttribute |
2 | 2 | [[#b3606f00]] | setData |