Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 4 | 3 | 0.962 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 4409 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
2 | 11 | 4427 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
3 | 11 | 4445 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
4 | 11 | 4462 | 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); } } |
| ||||
{ 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); } } |
| ||||
{ 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); } } |
| ||||
{ 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); } } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b83085c0]] | methodDecl |
1 | 2 | [[#b83085c0]] | initializer |
1 | 3 | [[#b83085c0]] | fieldDeclaration |
1 | 4 | [[#b83085c0]] | enumConstantDeclaration |
2 | 1 | [[#b8308540]] | methodDeclaration |
2 | 2 | [[#b8308540]] | oldInitializer |
2 | 3 | [[#b8308540]] | fieldDecl |
2 | 4 | [[#b8308540]] | fieldDeclaration |
3 | 1 | [[#b83084c0]] | sourceStart |
3 | 2 | [[#b83084c0]] | bodyStart |
3 | 3 | [[#b83084c0]] | sourceStart |
3 | 4 | [[#b83084c0]] | sourceStart |