CloneSet3432


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11557
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ExclusionInclusionDialog.java
215146
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SetFilterWizardPage.java
Clone Instance
1
Line Count
15
Source Line
57
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ExclusionInclusionDialog.java

        private static class ExclusionInclusionLabelProvider extends LabelProvider {

                private Image fElementImage;

                public ExclusionInclusionLabelProvider(ImageDescriptor descriptor) {
                        ImageDescriptorRegistry registry = JavaPlugin.getImageDescriptorRegistry();
                        fElementImage = registry.get(descriptor);
                }

                public Image getImage(Object element) {
                        return fElementImage;
                }

                public String getText(Object element) {
                        return (String) element;
                }
        }


Clone Instance
2
Line Count
15
Source Line
146
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SetFilterWizardPage.java

        private static class ExclusionInclusionLabelProvider extends LabelProvider {

                private Image fElementImage;

                public ExclusionInclusionLabelProvider(ImageDescriptor descriptor) {
                        ImageDescriptorRegistry registry = JavaPlugin.getImageDescriptorRegistry();
                        fElementImage = registry.get(descriptor);
                }

                public Image getImage(Object element) {
                        return fElementImage;
                }

                public String getText(Object element) {
                        return (String) element;
                }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private static class ExclusionInclusionLabelProvider extends LabelProvider {
  private Image fElementImage;

  public ExclusionInclusionLabelProvider(ImageDescriptor descriptor) {
    ImageDescriptorRegistry registry = JavaPlugin.getImageDescriptorRegistry();
    fElementImage = registry.get(descriptor);
  }

  public Image getImage(Object element) {
    return fElementImage;
  }

  public String getText(Object element) {
    return (String) element;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None