CloneSet1517


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2550.955statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12164
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BasicCompilationUnitEditorActionContributor.java
2267
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java
3269
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java
4271
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java
5273
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java
Clone Instance
1
Line Count
2
Source Line
164
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/BasicCompilationUnitEditorActionContributor.java

                actionBars.setGlobalActionHandler(JdtActionConstants.SHIFT_RIGHT, getAction(textEditor, "ShiftRight")); //$NON-NLS-1$
                actionBars.setGlobalActionHandler(JdtActionConstants.SHIFT_LEFT, getAction(textEditor, "ShiftLeft")); //$NON-NLS-1$


Clone Instance
2
Line Count
2
Source Line
67
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java

                bars.setGlobalActionHandler(JdtActionConstants.COMMENT, getAction(textEditor, "Comment")); //$NON-NLS-1$
                bars.setGlobalActionHandler(JdtActionConstants.UNCOMMENT, getAction(textEditor, "Uncomment")); //$NON-NLS-1$


Clone Instance
3
Line Count
2
Source Line
69
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java

                bars.setGlobalActionHandler(JdtActionConstants.TOGGLE_COMMENT, getAction(textEditor, "ToggleComment")); //$NON-NLS-1$
                bars.setGlobalActionHandler(JdtActionConstants.FORMAT, getAction(textEditor, "Format")); //$NON-NLS-1$


Clone Instance
4
Line Count
2
Source Line
71
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java

                bars.setGlobalActionHandler(JdtActionConstants.FORMAT_ELEMENT, getAction(textEditor, "QuickFormat")); //$NON-NLS-1$
                bars.setGlobalActionHandler(JdtActionConstants.ADD_BLOCK_COMMENT, getAction(textEditor, "AddBlockComment")); //$NON-NLS-1$


Clone Instance
5
Line Count
2
Source Line
73
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditorActionContributor.java

                bars.setGlobalActionHandler(JdtActionConstants.REMOVE_BLOCK_COMMENT, getAction(textEditor, "RemoveBlockComment")); //$NON-NLS-1$
                bars.setGlobalActionHandler(JdtActionConstants.INDENT, getAction(textEditor, "Indent")); //$NON-NLS-1$ 


Clone AbstractionParameter Count: 5Parameter Bindings

 [[#variable917bd0c0]].setGlobalActionHandler(JdtActionConstants. [[#variable97b21600]], getAction(textEditor,  [[#variable50f8ae40]])); //$NON-NLS-1$
 [[#variable917bd0c0]].setGlobalActionHandler(JdtActionConstants. [[#variable97b21620]], getAction(textEditor,  [[#variablec1199ca0]])); //$NON-NLS-1$ //$NON-NLS-1$ 
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#917bd0c0]]
bars 
12[[#917bd0c0]]
bars 
13[[#917bd0c0]]
bars 
14[[#917bd0c0]]
bars 
15[[#917bd0c0]]
actionBars 
21[[#97b21600]]
COMMENT 
22[[#97b21600]]
TOGGLE_COMMENT 
23[[#97b21600]]
FORMAT_ELEMENT 
24[[#97b21600]]
REMOVE_BLOCK_COMMENT 
25[[#97b21600]]
SHIFT_RIGHT 
31[[#50f8ae40]]
"Comment" 
32[[#50f8ae40]]
"ToggleComment" 
33[[#50f8ae40]]
"QuickFormat" 
34[[#50f8ae40]]
"RemoveBlockComment" 
35[[#50f8ae40]]
"ShiftRight" 
41[[#97b21620]]
UNCOMMENT 
42[[#97b21620]]
FORMAT 
43[[#97b21620]]
ADD_BLOCK_COMMENT 
44[[#97b21620]]
INDENT 
45[[#97b21620]]
SHIFT_LEFT 
51[[#c1199ca0]]
"Uncomment" 
52[[#c1199ca0]]
"Format" 
53[[#c1199ca0]]
"AddBlockComment" 
54[[#c1199ca0]]
"Indent" 
55[[#c1199ca0]]
"ShiftLeft"