CloneSet3103


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.990statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1588
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryMarkerResolutionGenerator.java
25105
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryMarkerResolutionGenerator.java
Clone Instance
1
Line Count
5
Source Line
88
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryMarkerResolutionGenerator.java

                        String label = NewWizardMessages.UserLibraryMarkerResolutionGenerator_changetouserlib_label;
                        Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_RENAME);
                        resolutions.add(new UserLibraryMarkerResolution(label, image) {
                                public void run(IMarker m) {
                                        changeToExistingLibrary(shell, path, false, project);
                                }
                                        } );


Clone Instance
2
Line Count
5
Source Line
105
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/UserLibraryMarkerResolutionGenerator.java

                String label = NewWizardMessages.UserLibraryMarkerResolutionGenerator_changetoother;
                Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_RENAME);
                resolutions.add(new UserLibraryMarkerResolution(label, image) {
                        public void run(IMarker m) {
                                changeToExistingLibrary(shell, path, true, project);
                        }
                                } );


Clone AbstractionParameter Count: 2Parameter Bindings

String label = NewWizardMessages. [[#variableb2ebb9a0]];
Image image = JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_RENAME);
resolutions.add(new UserLibraryMarkerResolution(label, image) {
                  public void run(IMarker m) {
                    changeToExistingLibrary(shell, path,  [[#variableb2ebb9c0]], project);
                  }
                } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2ebb9a0]]
UserLibraryMarkerResolutionGenerator_changetouserlib_label 
12[[#b2ebb9a0]]
UserLibraryMarkerResolutionGenerator_changetoother 
21[[#b2ebb9c0]]
false 
22[[#b2ebb9c0]]
true