CloneSet7493


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.969statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14424
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/TypingRunDetector.java
24437
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/TypingRunDetector.java
Clone Instance
1
Line Count
4
Source Line
424
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/TypingRunDetector.java

                        StyledText textWidget = fViewer.getTextWidget();
                        textWidget.addFocusListener(fSelectionListener);
                        textWidget.addKeyListener(fSelectionListener);
                        textWidget.addMouseListener(fSelectionListener);


Clone Instance
2
Line Count
4
Source Line
437
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/TypingRunDetector.java

                        StyledText textWidget = fViewer.getTextWidget();
                        textWidget.removeFocusListener(fSelectionListener);
                        textWidget.removeKeyListener(fSelectionListener);
                        textWidget.removeMouseListener(fSelectionListener);


Clone AbstractionParameter Count: 3Parameter Bindings

StyledText textWidget = fViewer.getTextWidget();
textWidget. [[#variable58e039e0]](fSelectionListener);
textWidget. [[#variable58e03bc0]](fSelectionListener);
textWidget. [[#variable58e03ba0]](fSelectionListener);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58e039e0]]
addFocusListener 
12[[#58e039e0]]
removeFocusListener 
21[[#58e03bc0]]
addKeyListener 
22[[#58e03bc0]]
removeKeyListener 
31[[#58e03ba0]]
addMouseListener 
32[[#58e03ba0]]
removeMouseListener