CloneSet2688


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12260.974switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112291
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java
212303
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java
Clone Instance
1
Line Count
12
Source Line
291
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java

                        case 22:
                                if (CharOperation.equals(typeName, ConstantPool.JAVA_LANG_DEPRECATED)) {
                                        this.standardAnnotationTagBits |= TagBits.AnnotationDeprecated;
                                        return currentOffset;
                                }
                                break;
                        case 29:
                                if (CharOperation.equals(typeName, ConstantPool.JAVA_LANG_ANNOTATION_TARGET)) {
                                        currentOffset += 2;
                                        return readTargetValue(currentOffset);
                                }
                                break;


Clone Instance
2
Line Count
12
Source Line
303
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationInfo.java

                        case 33:
                                if (CharOperation.equals(typeName, ConstantPool.JAVA_LANG_ANNOTATION_DOCUMENTED)) {
                                        this.standardAnnotationTagBits |= TagBits.AnnotationDocumented;
                                        return currentOffset;
                                }
                                break;
                        case 32:
                                if (CharOperation.equals(typeName, ConstantPool.JAVA_LANG_ANNOTATION_RETENTION)) {
                                        currentOffset += 2;
                                        return readRetentionPolicy(currentOffset);
                                }
                                break;


Clone AbstractionParameter Count: 6Parameter Bindings

case [[#variable5543b3c0]]:
  if (CharOperation.equals(typeName, ConstantPool. [[#variable5543b320]])) {
    this.standardAnnotationTagBits |= TagBits. [[#variable5543b280]];
    return currentOffset;
  }
  break;
case [[#variable5543b200]]:
  if (CharOperation.equals(typeName, ConstantPool. [[#variable5543b1a0]])) {
    currentOffset += 2;
    return [[#variable5543b100]](currentOffset);
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5543b3c0]]
33 
12[[#5543b3c0]]
22 
21[[#5543b320]]
JAVA_LANG_ANNOTATION_DOCUMENTED 
22[[#5543b320]]
JAVA_LANG_DEPRECATED 
31[[#5543b280]]
AnnotationDocumented 
32[[#5543b280]]
AnnotationDeprecated 
41[[#5543b200]]
32 
42[[#5543b200]]
29 
51[[#5543b1a0]]
JAVA_LANG_ANNOTATION_RETENTION 
52[[#5543b1a0]]
JAVA_LANG_ANNOTATION_TARGET 
61[[#5543b100]]
readRetentionPolicy 
62[[#5543b100]]
readTargetValue