CloneSet2317


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.992statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18394
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java
28404
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java
Clone Instance
1
Line Count
8
Source Line
394
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java

                                                fSubmissions.add(new Submission(bindingService.getActiveBindingsFor(ITextEditorActionDefinitionIds.WORD_NEXT)) {
                                                        public void execute() {
                                                                fIterator.setText(fNavigable.getText());
                                                                int caretPosition = fNavigable.getCaretPosition();
                                                                int newCaret = fIterator.following(caretPosition);
                                                                if (newCaret != BreakIterator.DONE)
                                                                        fNavigable.setSelection(newCaret, newCaret);
                                                                fIterator.setText(EMPTY_TEXT);
                                                        }
                                                                 } );


Clone Instance
2
Line Count
8
Source Line
404
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java

                                                fSubmissions.add(new Submission(bindingService.getActiveBindingsFor(ITextEditorActionDefinitionIds.WORD_PREVIOUS)) {
                                                        public void execute() {
                                                                fIterator.setText(fNavigable.getText());
                                                                int caretPosition = fNavigable.getCaretPosition();
                                                                int newCaret = fIterator.preceding(caretPosition);
                                                                if (newCaret != BreakIterator.DONE)
                                                                        fNavigable.setSelection(newCaret, newCaret);
                                                                fIterator.setText(EMPTY_TEXT);
                                                        }
                                                                 } );


Clone AbstractionParameter Count: 2Parameter Bindings

fSubmissions.add(new Submission(bindingService.getActiveBindingsFor(ITextEditorActionDefinitionIds. [[#variable55903cc0]])) {
                   public void execute() {
                     fIterator.setText(fNavigable.getText());
                     int caretPosition = fNavigable.getCaretPosition();
                     int newCaret = fIterator. [[#variable55f62fe0]](caretPosition);
                     if (newCaret != BreakIterator.DONE)
                       fNavigable.setSelection(newCaret, newCaret);
                     fIterator.setText(EMPTY_TEXT);
                   }
                 } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55903cc0]]
WORD_NEXT 
12[[#55903cc0]]
WORD_PREVIOUS 
21[[#55f62fe0]]
following 
22[[#55f62fe0]]
preceding