CloneSet2410


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.976statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171208
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
271215
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Clone Instance
1
Line Count
7
Source Line
1208
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java

                action.setActionDefinitionId(IJavaEditorActionDefinitionIds.REMOVE_BLOCK_COMMENT);
                setAction("RemoveBlockComment", action); //$NON-NLS-1$
                markAsStateDependentAction("RemoveBlockComment", true); //$NON-NLS-1$
                markAsSelectionDependentAction("RemoveBlockComment", true); //$NON-NLS-1$
                PlatformUI.getWorkbench().getHelpSystem().setHelp(action, IJavaHelpContextIds.REMOVE_BLOCK_COMMENT_ACTION);

                action = new IndentAction(JavaEditorMessages.getBundleForConstructedKeys(), "Indent.", this, false); //$NON-NLS-1$


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

                action.setActionDefinitionId(IJavaEditorActionDefinitionIds.INDENT);
                setAction("Indent", action); //$NON-NLS-1$
                markAsStateDependentAction("Indent", true); //$NON-NLS-1$
                markAsSelectionDependentAction("Indent", true); //$NON-NLS-1$
                PlatformUI.getWorkbench().getHelpSystem().setHelp(action, IJavaHelpContextIds.INDENT_ACTION);

                action = new IndentAction(JavaEditorMessages.getBundleForConstructedKeys(), "Indent.", this, true); //$NON-NLS-1$


Clone AbstractionParameter Count: 4Parameter Bindings

action.setActionDefinitionId(IJavaEditorActionDefinitionIds. [[#variable524539e0]]);
setAction( [[#variable52453040]], action); //$NON-NLS-1$
markAsStateDependentAction( [[#variable52453040]], true); //$NON-NLS-1$
markAsSelectionDependentAction( [[#variable52453040]], true); //$NON-NLS-1$
PlatformUI.getWorkbench().getHelpSystem().setHelp(action, IJavaHelpContextIds. [[#variable52453000]]);
action = new IndentAction(JavaEditorMessages.getBundleForConstructedKeys(), "Indent.", this,  [[#variable52453900]]); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#524539e0]]
INDENT 
12[[#524539e0]]
REMOVE_BLOCK_COMMENT 
21[[#52453040]]
"Indent" 
22[[#52453040]]
"RemoveBlockComment" 
31[[#52453000]]
INDENT_ACTION 
32[[#52453000]]
REMOVE_BLOCK_COMMENT_ACTION 
41[[#52453900]]
true 
42[[#52453900]]
false