CloneSet4961


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.958statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
162272
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
263917
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
6
Source Line
2272
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                        if (invocationSite instanceof CompletionOnJavadocAllocationExpression) {
                                                                CompletionOnJavadocAllocationExpression alloc = (CompletionOnJavadocAllocationExpression) invocationSite;
                                                                receiver = alloc.type;
                                                        }
                                                        else   if (invocationSite instanceof CompletionOnJavadocFieldReference) {
                                                                CompletionOnJavadocFieldReference fieldRef = (CompletionOnJavadocFieldReference) invocationSite;
                                                                receiver = fieldRef.receiver;
                                                               }


Clone Instance
2
Line Count
6
Source Line
3917
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                if (invocationSite instanceof CompletionOnJavadocMessageSend) {
                                        CompletionOnJavadocMessageSend msg = (CompletionOnJavadocMessageSend) invocationSite;
                                        receiver = msg.receiver;
                                }
                                else   if (invocationSite instanceof CompletionOnJavadocFieldReference) {
                                        CompletionOnJavadocFieldReference fieldRef = (CompletionOnJavadocFieldReference) invocationSite;
                                        receiver = fieldRef.receiver;
                                       }


Clone AbstractionParameter Count: 3Parameter Bindings

if (invocationSite instanceof [[#variable58d19ba0]]) {
   [[#variable58d19ba0]]  [[#variable58d19b00]]= ( [[#variable58d19ba0]]) invocationSite;
  receiver = [[#variable58d19b00]]. [[#variable58d19a80]];
}
else
  if (invocationSite instanceof CompletionOnJavadocFieldReference) {
    CompletionOnJavadocFieldReference fieldRef = (CompletionOnJavadocFieldReference) invocationSite;
    receiver = fieldRef.receiver;
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58d19ba0]]
CompletionOnJavadocMessageSend 
12[[#58d19ba0]]
CompletionOnJavadocAllocationExpression 
21[[#58d19b00]]
msg 
22[[#58d19b00]]
alloc 
31[[#58d19a80]]
receiver 
32[[#58d19a80]]
type