Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 4 | 5 | 0.975 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 510 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java |
2 | 8 | 518 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java |
3 | 8 | 526 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java |
4 | 8 | 534 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java |
| ||||
if (boldKey.equals(event.getProperty())) { adaptToTextStyleChange(fHighlightings[i], event, SWT.BOLD); fPresenter.highlightingStyleChanged(fHighlightings[i]); refreshNeeded = true; continue ; } String italicKey = SemanticHighlightings.getItalicPreferenceKey(semanticHighlighting); |
| ||||
if (italicKey.equals(event.getProperty())) { adaptToTextStyleChange(fHighlightings[i], event, SWT.ITALIC); fPresenter.highlightingStyleChanged(fHighlightings[i]); refreshNeeded = true; continue ; } String strikethroughKey = SemanticHighlightings.getStrikethroughPreferenceKey(semanticHighlighting); |
| ||||
if (strikethroughKey.equals(event.getProperty())) { adaptToTextStyleChange(fHighlightings[i], event, TextAttribute.STRIKETHROUGH); fPresenter.highlightingStyleChanged(fHighlightings[i]); refreshNeeded = true; continue ; } String underlineKey = SemanticHighlightings.getUnderlinePreferenceKey(semanticHighlighting); |
| ||||
if (underlineKey.equals(event.getProperty())) { adaptToTextStyleChange(fHighlightings[i], event, TextAttribute.UNDERLINE); fPresenter.highlightingStyleChanged(fHighlightings[i]); refreshNeeded = true; continue ; } String enabledKey = SemanticHighlightings.getEnabledPreferenceKey(semanticHighlighting); |
| |||
if ( [[#variable557a5840]].equals(event.getProperty())) { adaptToTextStyleChange(fHighlightings[i], event, [[#variableb8dce3e0]]. [[#variableb8d8ed00]]); fPresenter.highlightingStyleChanged(fHighlightings[i]); refreshNeeded = true; continue ; } String [[#variable557a5880]]= SemanticHighlightings. [[#variableb8dce3c0]](semanticHighlighting); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#557a5840]] | boldKey |
1 | 2 | [[#557a5840]] | italicKey |
1 | 3 | [[#557a5840]] | strikethroughKey |
1 | 4 | [[#557a5840]] | underlineKey |
2 | 1 | [[#b8dce3e0]] | SWT |
2 | 2 | [[#b8dce3e0]] | SWT |
2 | 3 | [[#b8dce3e0]] | TextAttribute |
2 | 4 | [[#b8dce3e0]] | TextAttribute |
3 | 1 | [[#b8d8ed00]] | BOLD |
3 | 2 | [[#b8d8ed00]] | ITALIC |
3 | 3 | [[#b8d8ed00]] | STRIKETHROUGH |
3 | 4 | [[#b8d8ed00]] | UNDERLINE |
4 | 1 | [[#557a5880]] | italicKey |
4 | 2 | [[#557a5880]] | strikethroughKey |
4 | 3 | [[#557a5880]] | underlineKey |
4 | 4 | [[#557a5880]] | enabledKey |
5 | 1 | [[#b8dce3c0]] | getItalicPreferenceKey |
5 | 2 | [[#b8dce3c0]] | getStrikethroughPreferenceKey |
5 | 3 | [[#b8dce3c0]] | getUnderlinePreferenceKey |
5 | 4 | [[#b8dce3c0]] | getEnabledPreferenceKey |