CloneSet2852


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112222
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java
212242
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java
Clone Instance
1
Line Count
12
Source Line
222
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java

                                                case AbstractVariableDeclaration.INITIALIZER:
                                                        if ( !fieldDecl.isStatic())
                                                                break;
                                                        lastInitializerScope = ((Initializer) fieldDecl).block.scope;
                                                        fieldDecl.generateCode(staticInitializerScope, codeStream);
                                                        break;
                                                case AbstractVariableDeclaration.FIELD:
                                                        if ( !fieldDecl.binding.isStatic())
                                                                break;
                                                        lastInitializerScope = null;
                                                        fieldDecl.generateCode(staticInitializerScope, codeStream);
                                                        break;


Clone Instance
2
Line Count
12
Source Line
242
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java

                                                case AbstractVariableDeclaration.INITIALIZER:
                                                        if ( !fieldDecl.isStatic())
                                                                break;
                                                        lastInitializerScope = ((Initializer) fieldDecl).block.scope;
                                                        fieldDecl.generateCode(staticInitializerScope, codeStream);
                                                        break;
                                                case AbstractVariableDeclaration.FIELD:
                                                        if ( !fieldDecl.binding.isStatic())
                                                                break;
                                                        lastInitializerScope = null;
                                                        fieldDecl.generateCode(staticInitializerScope, codeStream);
                                                        break;


Clone AbstractionParameter Count: 0Parameter Bindings

case AbstractVariableDeclaration.INITIALIZER:
  if ( !fieldDecl.isStatic())
    break;
  lastInitializerScope = ((Initializer) fieldDecl).block.scope;
  fieldDecl.generateCode(staticInitializerScope, codeStream);
  break;
case AbstractVariableDeclaration.FIELD:
  if ( !fieldDecl.binding.isStatic())
    break;
  lastInitializerScope = null;
  fieldDecl.generateCode(staticInitializerScope, codeStream);
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None