CloneSet2760


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110739
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
214249
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Clone Instance
1
Line Count
10
Source Line
739
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java

                        public boolean requestWidgetToken(IWidgetTokenKeeper requester) {
                                if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
                                        return false;
                                return super.requestWidgetToken(requester);
                        }

                        public boolean requestWidgetToken(IWidgetTokenKeeper requester, int priority) {
                                if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
                                        return false;
                                return super.requestWidgetToken(requester, priority);
                        }


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

                /*
                 * @see IWidgetTokenOwner#requestWidgetToken(IWidgetTokenKeeper)
                 */
                public boolean requestWidgetToken(IWidgetTokenKeeper requester) {
                        if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
                                return false;
                        return super.requestWidgetToken(requester);
                }

                /*
                 * @see IWidgetTokenOwnerExtension#requestWidgetToken(IWidgetTokenKeeper, int)
                 * @since 3.0
                 */
                public boolean requestWidgetToken(IWidgetTokenKeeper requester, int priority) {
                        if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
                                return false;
                        return super.requestWidgetToken(requester, priority);
                }


Clone AbstractionParameter Count: 0Parameter Bindings

/*
                 * @see IWidgetTokenOwner#requestWidgetToken(IWidgetTokenKeeper)
                 */
public boolean requestWidgetToken(IWidgetTokenKeeper requester) {
  if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
    return false;
  return super.requestWidgetToken(requester);
}

/*
                 * @see IWidgetTokenOwnerExtension#requestWidgetToken(IWidgetTokenKeeper, int)
                 * @since 3.0
                 */
public boolean requestWidgetToken(IWidgetTokenKeeper requester, int priority) {
  if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
    return false;
  return super.requestWidgetToken(requester, priority);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None