CloneSet4120


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1671
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithActionGroup.java
26282
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithTemplateMenuAction.java
Clone Instance
1
Line Count
6
Source Line
71
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithActionGroup.java

        private static SurroundWithTryCatchAction createSurroundWithTryCatchAction(CompilationUnitEditor editor) {
                SurroundWithTryCatchAction result = new SurroundWithTryCatchAction(editor);
                result.setText(ActionMessages.SurroundWithTemplateMenuAction_SurroundWithTryCatchActionName);
                result.setActionDefinitionId(IJavaEditorActionDefinitionIds.SURROUND_WITH_TRY_CATCH);
                editor.setAction("SurroundWithTryCatch", result); //$NON-NLS-1$         
                return result;
        }


Clone Instance
2
Line Count
6
Source Line
282
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithTemplateMenuAction.java

        private static SurroundWithTryCatchAction createSurroundWithTryCatchAction(CompilationUnitEditor editor) {
                SurroundWithTryCatchAction result = new SurroundWithTryCatchAction(editor);
                result.setText(ActionMessages.SurroundWithTemplateMenuAction_SurroundWithTryCatchActionName);
                result.setActionDefinitionId(IJavaEditorActionDefinitionIds.SURROUND_WITH_TRY_CATCH);
                editor.setAction("SurroundWithTryCatch", result); //$NON-NLS-1$         
                return result;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private static SurroundWithTryCatchAction createSurroundWithTryCatchAction(CompilationUnitEditor editor) {
  SurroundWithTryCatchAction result = new SurroundWithTryCatchAction(editor);
  result.setText(ActionMessages.SurroundWithTemplateMenuAction_SurroundWithTryCatchActionName);
  result.setActionDefinitionId(IJavaEditorActionDefinitionIds.SURROUND_WITH_TRY_CATCH);
  editor.setAction("SurroundWithTryCatch", result); //$NON-NLS-1$           
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None