CloneSet365


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
52301.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15275
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MultiTypeDeclarationPattern.java
25283
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/QualifiedTypeDeclarationPattern.java
352231
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeDeclarationPattern.java
Clone Instance
1
Line Count
52
Source Line
75
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MultiTypeDeclarationPattern.java

        switch (this.typeSuffix) {
                case CLASS_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case INTERFACE_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case INTERFACE_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case ENUM_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case ENUM_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case ANNOTATION_TYPE_SUFFIX:
                        if (this.typeSuffix != pattern.typeSuffix) return false;
                        break;
                case CLASS_AND_INTERFACE_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case INTERFACE_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case CLASS_AND_ENUM_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case ENUM_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
              }


Clone Instance
2
Line Count
52
Source Line
83
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/QualifiedTypeDeclarationPattern.java

        switch (this.typeSuffix) {
                case CLASS_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case INTERFACE_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case INTERFACE_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case ENUM_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case ENUM_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case ANNOTATION_TYPE_SUFFIX:
                        if (this.typeSuffix != pattern.typeSuffix) return false;
                        break;
                case CLASS_AND_INTERFACE_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case INTERFACE_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case CLASS_AND_ENUM_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case ENUM_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
              }


Clone Instance
3
Line Count
52
Source Line
231
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeDeclarationPattern.java

        switch (this.typeSuffix) {
                case CLASS_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case INTERFACE_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case INTERFACE_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case ENUM_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case ENUM_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case ANNOTATION_TYPE_SUFFIX:
                        if (this.typeSuffix != pattern.typeSuffix) return false;
                        break;
                case CLASS_AND_INTERFACE_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case INTERFACE_SUFFIX:
                                case CLASS_AND_INTERFACE_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
                case CLASS_AND_ENUM_SUFFIX:
                        switch (pattern.typeSuffix) {
                                case CLASS_SUFFIX:
                                case ENUM_SUFFIX:
                                case CLASS_AND_ENUM_SUFFIX:
                                        break;
                                default:
                                        return false;
                              }
                        break;
              }


Clone AbstractionParameter Count: 0Parameter Bindings

switch (this.typeSuffix) {
  case CLASS_SUFFIX:
    switch (pattern.typeSuffix) {
      case CLASS_SUFFIX:
      case CLASS_AND_INTERFACE_SUFFIX:
      case CLASS_AND_ENUM_SUFFIX:
        break;
      default:
        return false;
    }
    break;
  case INTERFACE_SUFFIX:
    switch (pattern.typeSuffix) {
      case INTERFACE_SUFFIX:
      case CLASS_AND_INTERFACE_SUFFIX:
        break;
      default:
        return false;
    }
    break;
  case ENUM_SUFFIX:
    switch (pattern.typeSuffix) {
      case ENUM_SUFFIX:
      case CLASS_AND_ENUM_SUFFIX:
        break;
      default:
        return false;
    }
    break;
  case ANNOTATION_TYPE_SUFFIX:
    if (this.typeSuffix != pattern.typeSuffix)
      return false;
    break;
  case CLASS_AND_INTERFACE_SUFFIX:
    switch (pattern.typeSuffix) {
      case CLASS_SUFFIX:
      case INTERFACE_SUFFIX:
      case CLASS_AND_INTERFACE_SUFFIX:
        break;
      default:
        return false;
    }
    break;
  case CLASS_AND_ENUM_SUFFIX:
    switch (pattern.typeSuffix) {
      case CLASS_SUFFIX:
      case ENUM_SUFFIX:
      case CLASS_AND_ENUM_SUFFIX:
        break;
      default:
        return false;
    }
    break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None