Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.985 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 99 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionJavadocParser.java |
2 | 4 | 66 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/select/SelectionJavadocParser.java |
| ||||
Expression expression = (Expression) super.createArgumentReference(argName, dim, isVarargs, typeRef, dimPositions, argNamePos); // See if completion location is in argument int refStart = ((TypeReference) typeRef).sourceStart; int refEnd = ((TypeReference) typeRef).sourceEnd; |
| ||||
// Create argument as we may need it after Expression expression = (Expression) super.createArgumentReference(name, dim, isVarargs, typeRef, dimPositions, argNamePos); // See if selection is in argument int start = ((TypeReference) typeRef).sourceStart; int end = ((TypeReference) typeRef).sourceEnd; |
| |||
// Create argument as we may need it after Expression expression = (Expression) super.createArgumentReference( [[#variableb2b74d40]], dim, isVarargs, typeRef, dimPositions, argNamePos); // See if selection is in argument // See if completion location is in argument int [[#variableb2b74d00]]= ((TypeReference) typeRef).sourceStart; int [[#variableb2b74c40]]= ((TypeReference) typeRef).sourceEnd; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2b74d40]] | name |
1 | 2 | [[#b2b74d40]] | argName |
2 | 1 | [[#b2b74d00]] | start |
2 | 2 | [[#b2b74d00]] | refStart |
3 | 1 | [[#b2b74c40]] | end |
3 | 2 | [[#b2b74c40]] | refEnd |