CloneSet2066


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.971executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112499
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java
212511
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java
Clone Instance
1
Line Count
12
Source Line
499
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java

                                                                                                                 {
                                        CompletionOnJavadocParamNameReference paramNameRef = (CompletionOnJavadocParamNameReference) this.completionNode;
                                        int nameStart = (int) (namePosition >> 32);
                                        paramNameRef.sourceStart = nameStart;
                                        int nameEnd = (int) namePosition;
                                        if (nameStart < this.cursorLocation && this.cursorLocation < nameEnd) {
                                                paramNameRef.sourceEnd = this.cursorLocation + 1;
                                        }
                                        else   {
                                                paramNameRef.sourceEnd = nameEnd;
                                        }
                                        paramNameRef.tagSourceStart = startPosition;
                                        paramNameRef.tagSourceEnd = endPosition;
                                                                                                                 }


Clone Instance
2
Line Count
12
Source Line
511
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java

                                                                                                                 {
                                        CompletionOnJavadocTypeParamReference typeParamRef = (CompletionOnJavadocTypeParamReference) this.completionNode;
                                        int nameStart = (int) (namePosition >> 32);
                                        typeParamRef.sourceStart = nameStart;
                                        int nameEnd = (int) namePosition;
                                        if (nameStart < this.cursorLocation && this.cursorLocation < nameEnd) {
                                                typeParamRef.sourceEnd = this.cursorLocation + 1;
                                        }
                                        else   {
                                                typeParamRef.sourceEnd = nameEnd;
                                        }
                                        typeParamRef.tagSourceStart = startPosition;
                                        typeParamRef.tagSourceEnd = endPosition;
                                                                                                                 }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variable7d4b3200]]  [[#variablea3be1a60]]= ( [[#variable7d4b3200]]) this.completionNode;
  int nameStart = (int) (namePosition >> 32);
   [[#variablea3be1a60]].sourceStart = nameStart;
  int nameEnd = (int) namePosition;
  if (nameStart < this.cursorLocation && this.cursorLocation < nameEnd) {
     [[#variablea3be1a60]].sourceEnd = this.cursorLocation + 1;
  }
  else {
     [[#variablea3be1a60]].sourceEnd = nameEnd;
  }
   [[#variablea3be1a60]].tagSourceStart = startPosition;
   [[#variablea3be1a60]].tagSourceEnd = endPosition;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d4b3200]]
CompletionOnJavadocTypeParamReference 
12[[#7d4b3200]]
CompletionOnJavadocParamNameReference 
21[[#a3be1a60]]
typeParamRef 
22[[#a3be1a60]]
paramNameRef