Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.950 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 166 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java |
2 | 5 | 172 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java |
| ||||
IClassFile classFile = (IClassFile) input.getAncestor(IJavaElement.CLASS_FILE); if (classFile != null) { enclosingElement = classFile.getElementAt(selection.getOffset()); } break; |
| ||||
ICompilationUnit cu = (ICompilationUnit) input.getAncestor(IJavaElement.COMPILATION_UNIT); if (cu != null) { enclosingElement = cu.getElementAt(selection.getOffset()); } break; |
| |||
[[#variable76bd43e0]] [[#variable76bd4340]]= ( [[#variable76bd43e0]]) input.getAncestor(IJavaElement. [[#variable76bd42e0]]); if ( [[#variable76bd4340]]!= null) { enclosingElement = [[#variable76bd4340]].getElementAt(selection.getOffset()); } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76bd43e0]] | ICompilationUnit |
1 | 2 | [[#76bd43e0]] | IClassFile |
2 | 1 | [[#76bd4340]] | cu |
2 | 2 | [[#76bd4340]] | classFile |
3 | 1 | [[#76bd42e0]] | COMPILATION_UNIT |
3 | 2 | [[#76bd42e0]] | CLASS_FILE |