CloneSet87


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
171120.966block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1192721
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
2192767
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
3172796
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
4172823
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
5172849
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
6192876
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
7192901
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
8172987
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
9173010
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
10193031
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
11193075
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
2721
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  // Can't have both a classifier and a type parameter.
  //
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_TYPE_NO_TYPE_PARAMETER_AND_CLASSIFIER, "_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic", null, new Object[] {
                                                                                                                                                                                                            eGenericType
                                                                                                                                                                                                          }, context));
  }
}


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

{
  // The type parameter must be in scope and must not be a forward reference.
  //
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_TYPE_TYPE_PARAMETER_NOT_IN_SCOPE, "_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic", null, new Object[] {
                                                                                                                                                                                                  eGenericType
                                                                                                                                                                                                }, context));
  }
}


Next
Previous
Clone Instance
3
Line Count
17
Source Line
2796
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_TYPE_CLASS_REQUIRED, "_UI_EGenericTypeNoClass_diagnostic", null, new Object[] {
                                                                                                                                                                     eGenericType
                                                                                                                                                                   }, context));
  }
}


Next
Previous
Clone Instance
4
Line Count
17
Source Line
2823
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_TYPE_WILDCARD_NOT_PERMITTED, "_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic", null, new Object[] {
                                                                                                                                                                                                 eGenericType
                                                                                                                                                                                               }, context));
  }
}


Next
Previous
Clone Instance
5
Line Count
17
Source Line
2849
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_TYPE_WILDCARD_NOT_PERMITTED, "_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic", null, new Object[] {
                                                                                                                                                                                                 eGenericType
                                                                                                                                                                                               }, context));
  }
}


Next
Previous
Clone Instance
6
Line Count
19
Source Line
2876
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  // The classifier of an attribute's generic type must be a data type.
  //
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_TYPE_CLASS_NOT_PERMITTED, "_UI_EAttributeNoDataType_diagnostic", null, new Object[] {
                                                                                                                                                                           eGenericType
                                                                                                                                                                         }, context));
  }
}


Next
Previous
Clone Instance
7
Line Count
19
Source Line
2901
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  // The classifier of an references's generic type must be a class.
  //
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_TYPE_DATA_TYPE_NOT_PERMITTED, "_UI_EReferenceNoClass_diagnostic", null, new Object[] {
                                                                                                                                                                            eGenericType
                                                                                                                                                                          }, context));
  }
}


Next
Previous
Clone Instance
8
Line Count
17
Source Line
2987
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_BOUNDS_NO_LOWER_AND_UPPER, "_UI_EGenericTypeNoUpperAndLowerBound_diagnostic", null, new Object[] {
                                                                                                                                                                                        eGenericType
                                                                                                                                                                                      }, context));
  }
}


Next
Previous
Clone Instance
9
Line Count
17
Source Line
3010
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_BOUNDS_NO_BOUNDS_WITH_TYPE_PARAMETER_OR_CLASSIFIER, "_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic", null, new Object[] {
                                                                                                                                                                                                                                eGenericType
                                                                                                                                                                                                                              }, context));
  }
}


Next
Previous
Clone Instance
10
Line Count
19
Source Line
3031
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  // Can only have bounds when used as a type argument.
  //
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_BOUNDS_NOT_ALLOWED, "_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic", null, new Object[] {
                                                                                                                                                                                      eGenericType
                                                                                                                                                                                    }, context));
  }
}


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

{
  // Can't have type arguments unless there is a classifier
  //
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, CONSISTENT_ARGUMENTS_NONE_ALLOWED, "_UI_EGenericTypeNoArguments_diagnostic", null, new Object[] {
                                                                                                                                                                            eGenericType
                                                                                                                                                                          }, context));
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

{
  // Can't have both a classifier and a type parameter.
  // The type parameter must be in scope and must not be a forward reference.
  // The classifier of an attribute's generic type must be a data type.
  // The classifier of an references's generic type must be a class.
  // Can only have bounds when used as a type argument.
  // Can't have type arguments unless there is a classifier
  //
  if (diagnostics == null) {
    return false;
  }
  else {
    result = false;
    diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE,  [[#variable19054c60]],  [[#variable19054bc0]], null, new Object[] {
                                                                                                                                               eGenericType
                                                                                                                                             }, context));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#19054c60]]
CONSISTENT_TYPE_NO_TYPE_PARAMETER_AND_CLASSIFIER 
12[[#19054c60]]
CONSISTENT_TYPE_TYPE_PARAMETER_NOT_IN_SCOPE 
13[[#19054c60]]
CONSISTENT_TYPE_CLASS_REQUIRED 
14[[#19054c60]]
CONSISTENT_TYPE_WILDCARD_NOT_PERMITTED 
15[[#19054c60]]
CONSISTENT_TYPE_WILDCARD_NOT_PERMITTED 
16[[#19054c60]]
CONSISTENT_TYPE_CLASS_NOT_PERMITTED 
17[[#19054c60]]
CONSISTENT_TYPE_DATA_TYPE_NOT_PERMITTED 
18[[#19054c60]]
CONSISTENT_BOUNDS_NO_LOWER_AND_UPPER 
19[[#19054c60]]
CONSISTENT_BOUNDS_NO_BOUNDS_WITH_TYPE_PARAMETER_OR_CLASSIFIER 
110[[#19054c60]]
CONSISTENT_BOUNDS_NOT_ALLOWED 
111[[#19054c60]]
CONSISTENT_ARGUMENTS_NONE_ALLOWED 
21[[#19054bc0]]
"_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic" 
22[[#19054bc0]]
"_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic" 
23[[#19054bc0]]
"_UI_EGenericTypeNoClass_diagnostic" 
24[[#19054bc0]]
"_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic" 
25[[#19054bc0]]
"_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic" 
26[[#19054bc0]]
"_UI_EAttributeNoDataType_diagnostic" 
27[[#19054bc0]]
"_UI_EReferenceNoClass_diagnostic" 
28[[#19054bc0]]
"_UI_EGenericTypeNoUpperAndLowerBound_diagnostic" 
29[[#19054bc0]]
"_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic" 
210[[#19054bc0]]
"_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic" 
211[[#19054bc0]]
"_UI_EGenericTypeNoArguments_diagnostic"