Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 4 | 6 | 0.986 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 104 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java |
2 | 16 | 120 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java |
3 | 16 | 136 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java |
4 | 16 | 152 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java |
| ||||
case K_CLASS: setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_CLASS)); if (isInnerType) { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerclass_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerclass_intype_description, new String[] { typeName, containerName } )); } } else { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createclass_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createclass_inpackage_description, new String[] { typeName, containerName } )); } } break; |
| ||||
case K_INTERFACE: setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_INTERFACE)); if (isInnerType) { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerinterface_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerinterface_intype_description, new String[] { typeName, containerName } )); } } else { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinterface_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinterface_inpackage_description, new String[] { typeName, containerName } )); } } break; |
| ||||
case K_ENUM: setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_ENUM)); if (isInnerType) { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerenum_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerenum_intype_description, new String[] { typeName, containerName } )); } } else { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createenum_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createenum_inpackage_description, new String[] { typeName, containerName } )); } } break; |
| ||||
case K_ANNOTATION: setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_ANNOTATION)); if (isInnerType) { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerannotation_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createinnerannotation_intype_description, new String[] { typeName, containerName } )); } } else { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createannotation_description, typeName)); } else { setDisplayName(Messages.format(CorrectionMessages.NewCUCompletionUsingWizardProposal_createannotation_inpackage_description, new String[] { typeName, containerName } )); } } break; |
| |||
case [[#variable5a4f9a00]]: setImage(JavaPluginImages.get(JavaPluginImages. [[#variable5a4f9920]])); if (isInnerType) { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages. [[#variable5a4f9880]], typeName)); } else { setDisplayName(Messages.format(CorrectionMessages. [[#variable5a4f9820]], new String[] { typeName, containerName } )); } } else { if (containerName.length() == 0) { setDisplayName(Messages.format(CorrectionMessages. [[#variable57c0f5e0]], typeName)); } else { setDisplayName(Messages.format(CorrectionMessages. [[#variable5a4f98c0]], new String[] { typeName, containerName } )); } } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a4f9a00]] | K_CLASS |
1 | 2 | [[#5a4f9a00]] | K_INTERFACE |
1 | 3 | [[#5a4f9a00]] | K_ENUM |
1 | 4 | [[#5a4f9a00]] | K_ANNOTATION |
2 | 1 | [[#5a4f9920]] | IMG_OBJS_CLASS |
2 | 2 | [[#5a4f9920]] | IMG_OBJS_INTERFACE |
2 | 3 | [[#5a4f9920]] | IMG_OBJS_ENUM |
2 | 4 | [[#5a4f9920]] | IMG_OBJS_ANNOTATION |
3 | 1 | [[#5a4f9880]] | NewCUCompletionUsingWizardProposal_createinnerclass_description |
3 | 2 | [[#5a4f9880]] | NewCUCompletionUsingWizardProposal_createinnerinterface_description |
3 | 3 | [[#5a4f9880]] | NewCUCompletionUsingWizardProposal_createinnerenum_description |
3 | 4 | [[#5a4f9880]] | NewCUCompletionUsingWizardProposal_createinnerannotation_description |
4 | 1 | [[#5a4f9820]] | NewCUCompletionUsingWizardProposal_createinnerclass_intype_description |
4 | 2 | [[#5a4f9820]] | NewCUCompletionUsingWizardProposal_createinnerinterface_intype_description |
4 | 3 | [[#5a4f9820]] | NewCUCompletionUsingWizardProposal_createinnerenum_intype_description |
4 | 4 | [[#5a4f9820]] | NewCUCompletionUsingWizardProposal_createinnerannotation_intype_description |
5 | 1 | [[#57c0f5e0]] | NewCUCompletionUsingWizardProposal_createclass_description |
5 | 2 | [[#57c0f5e0]] | NewCUCompletionUsingWizardProposal_createinterface_description |
5 | 3 | [[#57c0f5e0]] | NewCUCompletionUsingWizardProposal_createenum_description |
5 | 4 | [[#57c0f5e0]] | NewCUCompletionUsingWizardProposal_createannotation_description |
6 | 1 | [[#5a4f98c0]] | NewCUCompletionUsingWizardProposal_createclass_inpackage_description |
6 | 2 | [[#5a4f98c0]] | NewCUCompletionUsingWizardProposal_createinterface_inpackage_description |
6 | 3 | [[#5a4f98c0]] | NewCUCompletionUsingWizardProposal_createenum_inpackage_description |
6 | 4 | [[#5a4f98c0]] | NewCUCompletionUsingWizardProposal_createannotation_inpackage_description |