CloneSet5992


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.950statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15166
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java
25172
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java
Clone Instance
1
Line Count
5
Source Line
166
Source File
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;


Clone Instance
2
Line Count
5
Source Line
172
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyAction.java

                    ICompilationUnit cu = (ICompilationUnit) input.getAncestor(IJavaElement.COMPILATION_UNIT);
                    if (cu != null) {
                        enclosingElement = cu.getElementAt(selection.getOffset());
                    }
                    break;


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable76bd43e0]]  [[#variable76bd4340]]= ( [[#variable76bd43e0]]) input.getAncestor(IJavaElement. [[#variable76bd42e0]]);
if ( [[#variable76bd4340]]!= null) {
  enclosingElement = [[#variable76bd4340]].getElementAt(selection.getOffset());
}
break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#76bd43e0]]
ICompilationUnit 
12[[#76bd43e0]]
IClassFile 
21[[#76bd4340]]
cu 
22[[#76bd4340]]
classFile 
31[[#76bd42e0]]
COMPILATION_UNIT 
32[[#76bd42e0]]
CLASS_FILE