CloneSet2512


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.960block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16280
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
26186
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionProcessor.java
Clone Instance
1
Line Count
6
Source Line
280
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java

                                                                                                            {
                IMarker marker = annotation.getMarker();
                IMarkerResolution[] res = IDE.getMarkerHelpRegistry().getResolutions(marker);
                if (res.length > 0) {
                        for (int i = 0; i < res.length; i++) {
                                proposals.add(new MarkerResolutionProposal(res[i], marker));
                        }
                }
                                                                                                            }


Clone Instance
2
Line Count
6
Source Line
186
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionProcessor.java

                                                            {
                        IMarker marker = ((SimpleMarkerAnnotation) curr).getMarker();
                        IMarkerResolution[] res = IDE.getMarkerHelpRegistry().getResolutions(marker);
                        if (res.length > 0) {
                                for (int i = 0; i < res.length; i++) {
                                        proposals.add(new MarkerResolutionProposal(res[i], marker));
                                }
                        }
                                                            }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  IMarker marker = [[#variablea0f04dc0]].getMarker();
  IMarkerResolution[] res = IDE.getMarkerHelpRegistry().getResolutions(marker);
  if (res.length > 0) {
    for (int i = 0; i < res.length; i++) {
      proposals.add(new MarkerResolutionProposal(res[i], marker));
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0f04dc0]]
annotation 
12[[#a0f04dc0]]
((SimpleMarkerAnnotation) curr)