CloneSet4857


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4310.990executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14518
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java
24312
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java
34210
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java
Clone Instance
1
Line Count
4
Source Line
518
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java

                          {
                 // due to change of declaring class with receiver type, only identity cast should be notified
                if (((CastExpression) this.receiver).expression.resolvedType == this.receiverType) {
                                scope.problemReporter().unnecessaryCast((CastExpression) this.receiver);
                }
                          }


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

                                                             {
                 // due to change of declaring class with receiver type, only identity cast should be notified
                if (((CastExpression) this.receiver).expression.resolvedType == this.actualReceiverType) {
                        scope.problemReporter().unnecessaryCast((CastExpression) this.receiver);
                }
                                                             }


Clone Instance
3
Line Count
4
Source Line
210
Source File
plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetMessageSend.java

                                                             {
                 // due to change of declaring class with receiver type, only identity cast should be notified
                if (((CastExpression) this.receiver).expression.resolvedType == this.actualReceiverType) {
                        scope.problemReporter().unnecessaryCast((CastExpression) this.receiver);
                }
                                                             }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  // due to change of declaring class with receiver type, only identity cast should be notified
  if (((CastExpression) this.receiver).expression.resolvedType == this. [[#variable98ec00c0]]) {
    scope.problemReporter().unnecessaryCast((CastExpression) this.receiver);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98ec00c0]]
actualReceiverType 
12[[#98ec00c0]]
receiverType 
13[[#98ec00c0]]
actualReceiverType