CloneSet189


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
38210.977class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
138121
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/change/ChangeKind.java
23897
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/namespace/SpaceType.java
Next
Last
Clone Instance
1
Line Count
38
Source Line
121
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/change/ChangeKind.java

/**
 * A public read-only list of all the '<em><b>Kind</b></em>' enumerators.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static final List<ChangeKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

/**
 * Returns the '<em><b>Kind</b></em>' literal with the specified literal value.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static ChangeKind get(String literal) {
  for (int i = 0; i < VALUES_ARRAY.length; ++i) {
    ChangeKind result = VALUES_ARRAY[i];
    if (result.toString().equals(literal)) {
      return result;
    }
  }
  return null;
}

/**
 * Returns the '<em><b>Kind</b></em>' literal with the specified name.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static ChangeKind getByName(String name) {
  for (int i = 0; i < VALUES_ARRAY.length; ++i) {
    ChangeKind result = VALUES_ARRAY[i];
    if (result.getName().equals(name)) {
      return result;
    }
  }
  return null;
}


First
Previous
Clone Instance
2
Line Count
38
Source Line
97
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/namespace/SpaceType.java

/**
 * A public read-only list of all the '<em><b>Space Type</b></em>' enumerators.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static final List<SpaceType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

/**
 * Returns the '<em><b>Space Type</b></em>' literal with the specified literal value.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static SpaceType get(String literal) {
  for (int i = 0; i < VALUES_ARRAY.length; ++i) {
    SpaceType result = VALUES_ARRAY[i];
    if (result.toString().equals(literal)) {
      return result;
    }
  }
  return null;
}

/**
 * Returns the '<em><b>Space Type</b></em>' literal with the specified name.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public static SpaceType getByName(String name) {
  for (int i = 0; i < VALUES_ARRAY.length; ++i) {
    SpaceType result = VALUES_ARRAY[i];
    if (result.getName().equals(name)) {
      return result;
    }
  }
  return null;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
   * A public read-only list of all the '<em><b>Space Type</b></em>' enumerators.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
/**
   * A public read-only list of all the '<em><b>Kind</b></em>' enumerators.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public static final List< [[#variable1714fd40]]> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

/**
   * Returns the '<em><b>Space Type</b></em>' literal with the specified literal value.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
/**
   * Returns the '<em><b>Kind</b></em>' literal with the specified literal value.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public static [[#variable1714fd40]] get(String literal) {
  for (int i = 0; i < VALUES_ARRAY.length; ++i) {
     [[#variable1714fd40]] result = VALUES_ARRAY[i];
    if (result.toString().equals(literal)) {
      return result;
    }
  }
  return null;
}

/**
   * Returns the '<em><b>Space Type</b></em>' literal with the specified name.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
/**
   * Returns the '<em><b>Kind</b></em>' literal with the specified name.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public static [[#variable1714fd40]] getByName(String name) {
  for (int i = 0; i < VALUES_ARRAY.length; ++i) {
     [[#variable1714fd40]] result = VALUES_ARRAY[i];
    if (result.getName().equals(name)) {
      return result;
    }
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1714fd40]]
ChangeKind 
12[[#1714fd40]]
SpaceType