CloneSet7634


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.979statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13140
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchEditorOpener.java
23207
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java
Clone Instance
1
Line Count
3
Source Line
140
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchEditorOpener.java

                        IClassFile cf = (IClassFile) jElement.getAncestor(IJavaElement.CLASS_FILE);
                        if (cf != null)
                                return (IFile) cf.getCorrespondingResource();


Clone Instance
2
Line Count
3
Source Line
207
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java

                                IClassFile cf = (IClassFile) javaElement.getAncestor(IJavaElement.CLASS_FILE);
                                if (cf != null)
                                        return (IFile) cf.getResource();


Clone AbstractionParameter Count: 2Parameter Bindings

IClassFile cf = (IClassFile)  [[#variable5a52cfe0]].getAncestor(IJavaElement.CLASS_FILE);
if (cf != null)
  return (IFile) cf. [[#variable5a52c940]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a52cfe0]]
javaElement 
12[[#5a52cfe0]]
jElement 
21[[#5a52c940]]
getResource 
22[[#5a52c940]]
getCorrespondingResource