Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 71 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SurroundWithActionGroup.java |
2 | 6 | 282 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |