Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 5 | 0.960 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 329 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Annotation.java |
2 | 9 | 338 | 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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#98ff78e0]] | METHOD |
1 | 2 | [[#98ff78e0]] | FIELD |
2 | 1 | [[#98ff7820]] | MethodBinding |
2 | 2 | [[#98ff7820]] | FieldBinding |
3 | 1 | [[#98ff7760]] | sourceMethod |
3 | 2 | [[#98ff7760]] | sourceField |
4 | 1 | [[#98ff76c0]] | AbstractMethodDeclaration |
4 | 2 | [[#98ff76c0]] | FieldDeclaration |
5 | 1 | [[#98ff7640]] | methodDeclaration |
5 | 2 | [[#98ff7640]] | fieldDeclaration |