CloneSet1477


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111836
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
2111046
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java
Clone Instance
1
Line Count
11
Source Line
836
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                                if (this.scope == null) return null;
                                if (importReferenceLength == index) {
                                        try {
                                                binding = this.scope.getImport(CharOperation.subarray(importReference.tokens, 0, index), importReference.onDemand, importReference.isStatic());
                                        } catch (AbortCompilation e) {
                                                // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=53357
                                          }
                                }
                                else   {
                                        try {
                                                binding = this.scope.getImport(CharOperation.subarray(importReference.tokens, 0, index), true, importReference.isStatic());
                                        } catch (AbortCompilation e) {
                                                // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=53357
                                          }
                                }


Clone Instance
2
Line Count
11
Source Line
1046
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java

                                if (this.scope == null) return null;
                                if (importReferenceLength == index) {
                                        try {
                                                binding = this.scope.getImport(CharOperation.subarray(importReference.tokens, 0, index), importReference.onDemand, importReference.isStatic());
                                        } catch (AbortCompilation e) {
                                                // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=53357
                                          }
                                }
                                else   {
                                        try {
                                                binding = this.scope.getImport(CharOperation.subarray(importReference.tokens, 0, index), true, importReference.isStatic());
                                        } catch (AbortCompilation e) {
                                                // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=53357
                                          }
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (this.scope == null)
  return null;
if (importReferenceLength == index) {
  try {
    binding = this.scope.getImport(CharOperation.subarray(importReference.tokens, 0, index), importReference.onDemand, importReference.isStatic());
  }
  catch (AbortCompilation e) {
  // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=53357
  }
}
else {
  try {
    binding = this.scope.getImport(CharOperation.subarray(importReference.tokens, 0, index), true, importReference.isStatic());
  }
  catch (AbortCompilation e) {
  // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=53357
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None