CloneSet1142


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8450.975statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18510
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java
28518
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java
38526
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java
48534
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java
Clone Instance
1
Line Count
8
Source Line
510
Source File
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);


Clone Instance
2
Line Count
8
Source Line
518
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java

                        if (italicKey.equals(event.getProperty())) {
                                adaptToTextStyleChange(fHighlightings[i], event, SWT.ITALIC);
                                fPresenter.highlightingStyleChanged(fHighlightings[i]);
                                refreshNeeded = true;
                                continue ;
                        }

                        String strikethroughKey = SemanticHighlightings.getStrikethroughPreferenceKey(semanticHighlighting);


Clone Instance
3
Line Count
8
Source Line
526
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java

                        if (strikethroughKey.equals(event.getProperty())) {
                                adaptToTextStyleChange(fHighlightings[i], event, TextAttribute.STRIKETHROUGH);
                                fPresenter.highlightingStyleChanged(fHighlightings[i]);
                                refreshNeeded = true;
                                continue ;
                        }

                        String underlineKey = SemanticHighlightings.getUnderlinePreferenceKey(semanticHighlighting);


Clone Instance
4
Line Count
8
Source Line
534
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java

                        if (underlineKey.equals(event.getProperty())) {
                                adaptToTextStyleChange(fHighlightings[i], event, TextAttribute.UNDERLINE);
                                fPresenter.highlightingStyleChanged(fHighlightings[i]);
                                refreshNeeded = true;
                                continue ;
                        }

                        String enabledKey = SemanticHighlightings.getEnabledPreferenceKey(semanticHighlighting);


Clone AbstractionParameter Count: 5Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#557a5840]]
boldKey 
12[[#557a5840]]
italicKey 
13[[#557a5840]]
strikethroughKey 
14[[#557a5840]]
underlineKey 
21[[#b8dce3e0]]
SWT 
22[[#b8dce3e0]]
SWT 
23[[#b8dce3e0]]
TextAttribute 
24[[#b8dce3e0]]
TextAttribute 
31[[#b8d8ed00]]
BOLD 
32[[#b8d8ed00]]
ITALIC 
33[[#b8d8ed00]]
STRIKETHROUGH 
34[[#b8d8ed00]]
UNDERLINE 
41[[#557a5880]]
italicKey 
42[[#557a5880]]
strikethroughKey 
43[[#557a5880]]
underlineKey 
44[[#557a5880]]
enabledKey 
51[[#b8dce3c0]]
getItalicPreferenceKey 
52[[#b8dce3c0]]
getStrikethroughPreferenceKey 
53[[#b8dce3c0]]
getUnderlinePreferenceKey 
54[[#b8dce3c0]]
getEnabledPreferenceKey