Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.961 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 989 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/TypeHierarchy.java |
2 | 2 | 987 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java |
3 | 2 | 681 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java |
| ||||
IType type = ((ClassFile) element).getType(); String typeName = type.getElementName(); |
| ||||
IType type = ((ClassFile) classFile).getType(); String typeName = type.getElementName(); |
| ||||
// binary types do not contain import statements so just answer the top-level type as the element IType binaryType = ((ClassFile) openable).getType(); String typeName = binaryType.getElementName(); |
| |||
// binary types do not contain import statements so just answer the top-level type as the element IType [[#variable5f29e6a0]]= ((ClassFile) [[#variable5f29e600]]).getType(); String typeName = [[#variable5f29e6a0]].getElementName(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f29e6a0]] | binaryType |
1 | 2 | [[#5f29e6a0]] | type |
1 | 3 | [[#5f29e6a0]] | type |
2 | 1 | [[#5f29e600]] | openable |
2 | 2 | [[#5f29e600]] | classFile |
2 | 3 | [[#5f29e600]] | element |