CloneSet1574


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6330.982statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1651
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CutAction.java
2641
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteAction.java
36127
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
Clone Instance
1
Line Count
6
Source Line
51
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CutAction.java

                ISharedImages workbenchImages = JavaPlugin.getDefault().getWorkbench().getSharedImages();
                setDisabledImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_CUT_DISABLED));
                setImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_CUT));
                setHoverImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_CUT));

                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.CUT_ACTION);


Clone Instance
2
Line Count
6
Source Line
41
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteAction.java

                ISharedImages workbenchImages = JavaPlugin.getDefault().getWorkbench().getSharedImages();
                setDisabledImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_DELETE_DISABLED));
                setImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_DELETE));
                setHoverImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_DELETE));

                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.DELETE_ACTION);


Clone Instance
3
Line Count
6
Source Line
127
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                ISharedImages workbenchImages = JavaPlugin.getDefault().getWorkbench().getSharedImages();
                setDisabledImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_PASTE_DISABLED));
                setImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_PASTE));
                setHoverImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages.IMG_TOOL_PASTE));

                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.PASTE_ACTION);


Clone AbstractionParameter Count: 3Parameter Bindings

ISharedImages workbenchImages = JavaPlugin.getDefault().getWorkbench().getSharedImages();
setDisabledImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages. [[#variable77a7a1a0]]));
setImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages. [[#variable72f6a4c0]]));
setHoverImageDescriptor(workbenchImages.getImageDescriptor(ISharedImages. [[#variable72f6a4c0]]));
PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variable72f6b4e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77a7a1a0]]
IMG_TOOL_PASTE_DISABLED 
12[[#77a7a1a0]]
IMG_TOOL_CUT_DISABLED 
13[[#77a7a1a0]]
IMG_TOOL_DELETE_DISABLED 
21[[#72f6a4c0]]
IMG_TOOL_PASTE 
22[[#72f6a4c0]]
IMG_TOOL_CUT 
23[[#72f6a4c0]]
IMG_TOOL_DELETE 
31[[#72f6b4e0]]
PASTE_ACTION 
32[[#72f6b4e0]]
CUT_ACTION 
33[[#72f6b4e0]]
DELETE_ACTION