CloneSet5122


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.957executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14567
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java
24271
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
Clone Instance
1
Line Count
4
Source Line
567
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java

                                                                              {
                                                Position pos = model.getPosition(annot);
                                                if (pos != null) {
                                                        return new ProblemLocation(pos.getOffset(), pos.getLength(), annot);
                                                }
                                                                              }


Clone Instance
2
Line Count
4
Source Line
271
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java

                                     {
                        Position pos = model.getPosition((Annotation) javaAnnotation);
                        if (pos != null) {
                                return new ProblemLocation(pos.getOffset(), pos.getLength(), javaAnnotation); // java problems all handled by the quick assist processors
                        }
                                     }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  Position pos = model.getPosition( [[#variablea4f7e9c0]]);
  if (pos != null) {
    return new ProblemLocation(pos.getOffset(), pos.getLength(),  [[#variablea4f7ea80]]); // java problems all handled by the quick assist processors
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4f7e9c0]]
(Annotation) javaAnnotation 
12[[#a4f7e9c0]]
annot 
21[[#a4f7ea80]]
javaAnnotation 
22[[#a4f7ea80]]
annot