CloneSet3301


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.964block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
183198
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
28238
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OverrideIndicatorManager.java
Clone Instance
1
Line Count
8
Source Line
3198
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

                                                              {
                        if (annotationModel instanceof IAnnotationModelExtension) {
                                ((IAnnotationModelExtension) annotationModel).replaceAnnotations(fOccurrenceAnnotations, null);
                        }
                        else   {
                                for (int i = 0,length = fOccurrenceAnnotations.length; i < length; i++)
                                        annotationModel.removeAnnotation(fOccurrenceAnnotations[i]);
                        }
                        fOccurrenceAnnotations = null;
                                                              }


Clone Instance
2
Line Count
8
Source Line
238
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OverrideIndicatorManager.java

                                                          {
                        if (fAnnotationModel instanceof IAnnotationModelExtension) {
                                ((IAnnotationModelExtension) fAnnotationModel).replaceAnnotations(fOverrideAnnotations, null);
                        }
                        else   {
                                for (int i = 0,length = fOverrideAnnotations.length; i < length; i++)
                                        fAnnotationModel.removeAnnotation(fOverrideAnnotations[i]);
                        }
                        fOverrideAnnotations = null;
                                                          }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  if ( [[#variable7747d580]]instanceof IAnnotationModelExtension) {
    ((IAnnotationModelExtension)  [[#variable7747d580]]).replaceAnnotations( [[#variable7747d500]], null);
  }
  else {
    for (int i = 0, length = [[#variable7747d500]].length; i < length; i++)
       [[#variable7747d580]].removeAnnotation( [[#variable7747d500]][i]);
  }
   [[#variable7747d500]]= null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7747d580]]
fAnnotationModel 
12[[#7747d580]]
annotationModel 
21[[#7747d500]]
fOverrideAnnotations 
22[[#7747d500]]
fOccurrenceAnnotations