CloneSet747


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11430.962block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1114409
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
2114427
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
3114445
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
4114462
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
11
Source Line
4409
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                                                                                                                                              {
                switch (this.ast.apiLevel) {
                        case AST.JLS2_INTERNAL:
                                enumConstantDeclaration.internalSetModifiers(fieldDeclaration.modifiers&  ExtraCompilerModifiers.AccJustFlag);
                                if (fieldDeclaration.annotations != null) {
                                        enumConstantDeclaration.setFlags(enumConstantDeclaration.getFlags()|  ASTNode.MALFORMED);
                                }
                                break;
                        case AST.JLS3:
                                this.scanner.resetTo(fieldDeclaration.declarationSourceStart, fieldDeclaration.sourceStart);
                                this.setModifiers(enumConstantDeclaration, fieldDeclaration.annotations);
                      }
                                                                                                                                                              }


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

                                                                                                                                         {
                switch (this.ast.apiLevel) {
                        case AST.JLS2_INTERNAL:
                                fieldDeclaration.internalSetModifiers(fieldDecl.modifiers&  ExtraCompilerModifiers.AccJustFlag);
                                if (fieldDecl.annotations != null) {
                                        fieldDeclaration.setFlags(fieldDeclaration.getFlags()|  ASTNode.MALFORMED);
                                }
                                break;
                        case AST.JLS3:
                                this.scanner.resetTo(fieldDecl.declarationSourceStart, fieldDecl.sourceStart);
                                this.setModifiers(fieldDeclaration, fieldDecl.annotations);
                      }
                                                                                                                                         }


Clone Instance
3
Line Count
11
Source Line
4445
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                                                                                                               {
                switch (this.ast.apiLevel) {
                        case AST.JLS2_INTERNAL:
                                initializer.internalSetModifiers(oldInitializer.modifiers&  ExtraCompilerModifiers.AccJustFlag);
                                if (oldInitializer.annotations != null) {
                                        initializer.setFlags(initializer.getFlags()|  ASTNode.MALFORMED);
                                }
                                break;
                        case AST.JLS3:
                                this.scanner.resetTo(oldInitializer.declarationSourceStart, oldInitializer.bodyStart);
                                this.setModifiers(initializer, oldInitializer.annotations);
                      }
                                                                                                                               }


Clone Instance
4
Line Count
11
Source Line
4462
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                                                                                               {
                switch (this.ast.apiLevel) {
                        case AST.JLS2_INTERNAL:
                                methodDecl.internalSetModifiers(methodDeclaration.modifiers&  ExtraCompilerModifiers.AccJustFlag);
                                if (methodDeclaration.annotations != null) {
                                        methodDecl.setFlags(methodDecl.getFlags()|  ASTNode.MALFORMED);
                                }
                                break;
                        case AST.JLS3:
                                this.scanner.resetTo(methodDeclaration.declarationSourceStart, methodDeclaration.sourceStart);
                                this.setModifiers(methodDecl, methodDeclaration.annotations);
                      }
                                                                                                               }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  switch (this.ast.apiLevel) {
    case AST.JLS2_INTERNAL:
       [[#variableb83085c0]].internalSetModifiers( [[#variableb8308540]].modifiers&ExtraCompilerModifiers.AccJustFlag);
      if ( [[#variableb8308540]].annotations != null) {
         [[#variableb83085c0]].setFlags( [[#variableb83085c0]].getFlags()|ASTNode.MALFORMED);
      }
      break;
    case AST.JLS3:
      this.scanner.resetTo( [[#variableb8308540]].declarationSourceStart,  [[#variableb8308540]]. [[#variableb83084c0]]);
      this.setModifiers( [[#variableb83085c0]],  [[#variableb8308540]].annotations);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b83085c0]]
methodDecl 
12[[#b83085c0]]
initializer 
13[[#b83085c0]]
fieldDeclaration 
14[[#b83085c0]]
enumConstantDeclaration 
21[[#b8308540]]
methodDeclaration 
22[[#b8308540]]
oldInitializer 
23[[#b8308540]]
fieldDecl 
24[[#b8308540]]
fieldDeclaration 
31[[#b83084c0]]
sourceStart 
32[[#b83084c0]]
bodyStart 
33[[#b83084c0]]
sourceStart 
34[[#b83084c0]]
sourceStart