CloneSet3606


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.989executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14107
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java
24139
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java
Clone Instance
1
Line Count
4
Source Line
107
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java

                                        if ((expr.bits&  Binding.VARIABLE) == Binding.FIELD) {
                                                FieldBinding field = ((Reference) expr).fieldBinding();
                                                if (field != null && field.declaringClass.id == T_JavaLangAnnotationRetentionPolicy) {
                                                        tagBits |= getRetentionPolicy(field.name);
                                                }
                                        }


Clone Instance
2
Line Count
4
Source Line
139
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java

                                               if ((expr.bits&  Binding.VARIABLE) == Binding.FIELD) {
                                                FieldBinding field = ((Reference) expr).fieldBinding();
                                                if (field != null && field.declaringClass.id == T_JavaLangAnnotationElementType) {
                                                        tagBits |= getTargetElementType(field.name);
                                                }
                                               }


Clone AbstractionParameter Count: 2Parameter Bindings

if ((expr.bits&Binding.VARIABLE) == Binding.FIELD) {
  FieldBinding field = ((Reference) expr).fieldBinding();
  if (field != null && field.declaringClass.id == [[#variable97ec25a0]]) {
    tagBits |= [[#variable97ec2540]](field.name);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97ec25a0]]
T_JavaLangAnnotationElementType 
12[[#97ec25a0]]
T_JavaLangAnnotationRetentionPolicy 
21[[#97ec2540]]
getTargetElementType 
22[[#97ec2540]]
getRetentionPolicy