CloneSet1811


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11240.987statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1115698
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
2115748
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
Clone Instance
1
Line Count
11
Source Line
5698
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java

                                        if (numberOfInvisibleAnnotations != 0) {
                                                Argument argument = arguments[i];
                                                Annotation[] annotations = argument.annotations;
                                                for (int j = 0, max = annotations.length; j < max; j++) {
                                                        Annotation annotation = annotations[j];
                                                        if (isRuntimeInvisible(annotation)) {
                                                                generateAnnotation(annotation, annotationAttributeOffset);
                                                                if (contentsOffset == annotationAttributeOffset) {
                                                                        break invisibleLoop;
                                                                }
                                                                invisibleParametersAnnotationsCounter--;
                                                        }
                                                }
                                        }


Clone Instance
2
Line Count
11
Source Line
5748
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java

                                        if (numberOfVisibleAnnotations != 0) {
                                                Argument argument = arguments[i];
                                                Annotation[] annotations = argument.annotations;
                                                for (int j = 0, max = annotations.length; j < max; j++) {
                                                        Annotation annotation = annotations[j];
                                                        if (isRuntimeVisible(annotation)) {
                                                                generateAnnotation(annotation, annotationAttributeOffset);
                                                                if (contentsOffset == annotationAttributeOffset) {
                                                                        break visibleLoop;
                                                                }
                                                                visibleParametersAnnotationsCounter--;
                                                        }
                                                }
                                        }


Clone AbstractionParameter Count: 4Parameter Bindings

if ( [[#variable9d1b9720]]!= 0) {
  Argument argument = arguments[i];
  Annotation[] annotations = argument.annotations;
  for (int j = 0, max = annotations.length; j < max; j++) {
    Annotation annotation = annotations[j];
    if ( [[#variable9d1b96a0]](annotation)) {
      generateAnnotation(annotation, annotationAttributeOffset);
      if (contentsOffset == annotationAttributeOffset) {
        break [[#variableb11692c0]];
      }
       [[#variable9d1b9700]]--;
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d1b9720]]
numberOfInvisibleAnnotations 
12[[#9d1b9720]]
numberOfVisibleAnnotations 
21[[#9d1b96a0]]
isRuntimeInvisible 
22[[#9d1b96a0]]
isRuntimeVisible 
31[[#b11692c0]]
invisibleLoop 
32[[#b11692c0]]
visibleLoop 
41[[#9d1b9700]]
invisibleParametersAnnotationsCounter 
42[[#9d1b9700]]
visibleParametersAnnotationsCounter