CloneSet2007


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.987switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1122425
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
2122437
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
12
Source Line
2425
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                case ASTNode.ENUM_DECLARATION:
                                        switch (this.ast.apiLevel) {
                                                case AST.JLS2_INTERNAL:
                                                        return createFakeEmptyStatement(statement);
                                                case AST.JLS3:
                                                        final TypeDeclarationStatement typeDeclarationStatement = new TypeDeclarationStatement(this.ast);
                                                        typeDeclarationStatement.setDeclaration((EnumDeclaration) result);
                                                        AbstractTypeDeclaration typeDecl = typeDeclarationStatement.getDeclaration();
                                                        typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength());
                                                        return typeDeclarationStatement;
                                              }
                                        break;


Clone Instance
2
Line Count
12
Source Line
2437
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                case ASTNode.ANNOTATION_TYPE_DECLARATION:
                                        switch (this.ast.apiLevel) {
                                                case AST.JLS2_INTERNAL:
                                                        return createFakeEmptyStatement(statement);
                                                case AST.JLS3:
                                                        TypeDeclarationStatement typeDeclarationStatement = new TypeDeclarationStatement(this.ast);
                                                        typeDeclarationStatement.setDeclaration((AnnotationTypeDeclaration) result);
                                                        AbstractTypeDeclaration typeDecl = typeDeclarationStatement.getDeclaration();
                                                        typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength());
                                                        return typeDeclarationStatement;
                                              }
                                        break;


Clone AbstractionParameter Count: 3Parameter Bindings

case ASTNode. [[#variable52829180]]:
  switch (this.ast.apiLevel) {
    case AST.JLS2_INTERNAL:
      return createFakeEmptyStatement(statement);
    case AST.JLS3:
       [[#variable52829a80]]TypeDeclarationStatement typeDeclarationStatement = new TypeDeclarationStatement(this.ast);
      typeDeclarationStatement.setDeclaration(( [[#variable528299e0]]) result);
      AbstractTypeDeclaration typeDecl = typeDeclarationStatement.getDeclaration();
      typeDeclarationStatement.setSourceRange(typeDecl.getStartPosition(), typeDecl.getLength());
      return typeDeclarationStatement;
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52829180]]
ENUM_DECLARATION 
12[[#52829180]]
ANNOTATION_TYPE_DECLARATION 
21[[#52829a80]]
final 
22[[#52829a80]]
31[[#528299e0]]
EnumDeclaration 
32[[#528299e0]]
AnnotationTypeDeclaration