CloneSet719


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18220.976statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1183455
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
2183585
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
Next
Last
Clone Instance
1
Line Count
18
Source Line
3455
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

EGenericType eBoundEUpperBound = eBound.getEUpperBound();
if (eBoundEUpperBound != null) {
  return isBounded(eGenericType, eBoundEUpperBound, substitutions);
}
else {
  EGenericType eBoundELowerBound = eBound.getELowerBound();
  if (eBoundELowerBound != null) {
    // If there is an lower bound, the type argument must bound it.
    //
    return isBounded(eBoundELowerBound, eGenericType, substitutions);
  }
  // The bound is a wildcard with no constraints.
  //
  return false;
}


First
Previous
Clone Instance
2
Line Count
18
Source Line
3585
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

EGenericType eBoundEUpperBound = eBound.getEUpperBound();
if (eBoundEUpperBound != null) {
  return isBounded(eGenericType, eBoundEUpperBound, substitutions);
}
else {
  EGenericType eBoundELowerBound = eBound.getELowerBound();
  if (eBoundELowerBound != null) {
    // Reverse the test.
    //
    return isMatching(eBoundELowerBound, eGenericType, substitutions);
  }
  // The bound is a wildcard with no constraints.
  //
  return true;
}


Clone AbstractionParameter Count: 2Parameter Bindings

EGenericType eBoundEUpperBound = eBound.getEUpperBound();
if (eBoundEUpperBound != null) {
  return isBounded(eGenericType, eBoundEUpperBound, substitutions);
}
else {
  EGenericType eBoundELowerBound = eBound.getELowerBound();
  if (eBoundELowerBound != null) {
    // If there is an lower bound, the type argument must bound it.
    // Reverse the test.
    //
    return [[#variable173d7520]](eBoundELowerBound, eGenericType, substitutions);
  }
  // The bound is a wildcard with no constraints.
  //
  return [[#variable173d5e20]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#173d7520]]
isBounded 
12[[#173d7520]]
isMatching 
21[[#173d5e20]]
false 
22[[#173d5e20]]
true