CloneSet3411


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.984statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15150
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java
25159
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java
Clone Instance
1
Line Count
5
Source Line
150
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java

                                ITypeBinding declaringClass = varBinding.getDeclaringClass();
                                if (declaringClass != null && !declaringClass.isLocal()) {
                                        if (new ScopeAnalyzer(getASTRoot(name)).isDeclaredInScope(varBinding, (SimpleName) name, ScopeAnalyzer.VARIABLES))
                                                        return;
                                        fStaticImports.add(name);
                                }


Clone Instance
2
Line Count
5
Source Line
159
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java

                        ITypeBinding declaringClass = methodBinding.getDeclaringClass();
                        if (declaringClass != null && !declaringClass.isLocal()) {
                                if (new ScopeAnalyzer(getASTRoot(name)).isDeclaredInScope(methodBinding, (SimpleName) name, ScopeAnalyzer.METHODS))
                                                return;
                                fStaticImports.add(name);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

ITypeBinding declaringClass = [[#variable5ccfca80]].getDeclaringClass();
if (declaringClass != null && !declaringClass.isLocal()) {
  if (new ScopeAnalyzer(getASTRoot(name)).isDeclaredInScope( [[#variable5ccfca80]], (SimpleName) name, ScopeAnalyzer. [[#variable5ccfc9e0]]))
    return;
  fStaticImports.add(name);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ccfca80]]
methodBinding 
12[[#5ccfca80]]
varBinding 
21[[#5ccfc9e0]]
METHODS 
22[[#5ccfc9e0]]
VARIABLES