CloneSet2049


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9250.960switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19329
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java
29338
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java
Clone Instance
1
Line Count
9
Source Line
329
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java

                                        case Binding.METHOD:
                                                MethodBinding sourceMethod = (MethodBinding) this.recipient;
                                                sourceMethod.tagBits |= tagBits;
                                                if ((tagBits&  TagBits.AnnotationSuppressWarnings) != 0) {
                                                        sourceType = (SourceTypeBinding) sourceMethod.declaringClass;
                                                        AbstractMethodDeclaration methodDeclaration = sourceType.scope.referenceContext.declarationOf(sourceMethod);
                                                        recordSuppressWarnings(scope, methodDeclaration.declarationSourceStart, methodDeclaration.declarationSourceEnd, scope.compilerOptions().suppressWarnings);
                                                }
                                                break;


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

                                        case Binding.FIELD:
                                                FieldBinding sourceField = (FieldBinding) this.recipient;
                                                sourceField.tagBits |= tagBits;
                                                if ((tagBits&  TagBits.AnnotationSuppressWarnings) != 0) {
                                                        sourceType = (SourceTypeBinding) sourceField.declaringClass;
                                                        FieldDeclaration fieldDeclaration = sourceType.scope.referenceContext.declarationOf(sourceField);
                                                        recordSuppressWarnings(scope, fieldDeclaration.declarationSourceStart, fieldDeclaration.declarationSourceEnd, scope.compilerOptions().suppressWarnings);
                                                }
                                                break;


Clone AbstractionParameter Count: 5Parameter Bindings

case Binding. [[#variable98ff78e0]]:
   [[#variable98ff7820]]  [[#variable98ff7760]]= ( [[#variable98ff7820]]) this.recipient;
   [[#variable98ff7760]].tagBits |= tagBits;
  if ((tagBits&TagBits.AnnotationSuppressWarnings) != 0) {
    sourceType = (SourceTypeBinding)  [[#variable98ff7760]].declaringClass;
     [[#variable98ff76c0]]  [[#variable98ff7640]]= sourceType.scope.referenceContext.declarationOf( [[#variable98ff7760]]);
    recordSuppressWarnings(scope,  [[#variable98ff7640]].declarationSourceStart,  [[#variable98ff7640]].declarationSourceEnd, scope.compilerOptions().suppressWarnings);
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98ff78e0]]
METHOD 
12[[#98ff78e0]]
FIELD 
21[[#98ff7820]]
MethodBinding 
22[[#98ff7820]]
FieldBinding 
31[[#98ff7760]]
sourceMethod 
32[[#98ff7760]]
sourceField 
41[[#98ff76c0]]
AbstractMethodDeclaration 
42[[#98ff76c0]]
FieldDeclaration 
51[[#98ff7640]]
methodDeclaration 
52[[#98ff7640]]
fieldDeclaration