CloneSet6555


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14230.964class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1141051
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
2141232
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
Clone Instance
1
Line Count
14
Source Line
1051
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

        /**
         * Text navigation action to navigate to the next sub-word.
         *
         * @since 3.0
         */
        protected class NavigateNextSubWordAction extends NextSubWordAction {

                /**
                 * Creates a new navigate next sub-word action.
                 */
                public NavigateNextSubWordAction() {
                        super(ST.WORD_NEXT);
                }

                /*
                 * @see org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.NextSubWordAction#setCaretPosition(int)
                 */
                protected void setCaretPosition( final int position) {
                        getTextWidget().setCaretOffset(modelOffset2WidgetOffset(getSourceViewer(), position));
                }
        }


Clone Instance
2
Line Count
14
Source Line
1232
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

        /**
         * Text navigation action to navigate to the previous sub-word.
         *
         * @since 3.0
         */
        protected class NavigatePreviousSubWordAction extends PreviousSubWordAction {

                /**
                 * Creates a new navigate previous sub-word action.
                 */
                public NavigatePreviousSubWordAction() {
                        super(ST.WORD_PREVIOUS);
                }

                /*
                 * @see org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.PreviousSubWordAction#setCaretPosition(int)
                 */
                protected void setCaretPosition( final int position) {
                        getTextWidget().setCaretOffset(modelOffset2WidgetOffset(getSourceViewer(), position));
                }
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Text navigation action to navigate to the next sub-word.
         *
         * @since 3.0
         */
/**
         * Text navigation action to navigate to the previous sub-word.
         *
         * @since 3.0
         */
protected class [[#variable622d3aa0]]extends [[#variable622d39e0]]{
  /**
                   * Creates a new navigate next sub-word action.
                   */
  /**
                   * Creates a new navigate previous sub-word action.
                   */
  public [[#variable622d3aa0]]() {
    super(ST. [[#variable622d3960]]);
  }

  /*
                   * @see org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.NextSubWordAction#setCaretPosition(int)
                   */
  /*
                   * @see org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.PreviousSubWordAction#setCaretPosition(int)
                   */
  protected void setCaretPosition( final int position) {
    getTextWidget().setCaretOffset(modelOffset2WidgetOffset(getSourceViewer(), position));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#622d3aa0]]
NavigateNextSubWordAction 
12[[#622d3aa0]]
NavigatePreviousSubWordAction 
21[[#622d39e0]]
NextSubWordAction 
22[[#622d39e0]]
PreviousSubWordAction 
31[[#622d3960]]
WORD_NEXT 
32[[#622d3960]]
WORD_PREVIOUS