CloneSet6138


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.966switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15199
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
25256
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java
Clone Instance
1
Line Count
5
Source Line
199
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java

                case ASTNode.ARRAY_CREATION:
                        if (((ArrayCreation) parent).dimensions().contains(node)) {
                                return parent.getAST().resolveWellKnownType("int"); //$NON-NLS-1$
                        }
                        break;


Clone Instance
2
Line Count
5
Source Line
256
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java

                case ASTNode.SWITCH_STATEMENT:
                        if (((SwitchStatement) parent).getExpression().equals(node)) {
                                return parent.getAST().resolveWellKnownType("int"); //$NON-NLS-1$
                        }
                        break;


Clone AbstractionParameter Count: 4Parameter Bindings

case ASTNode. [[#variable5c7c0020]]:
  if ((( [[#variable5c7abf80]]) parent). [[#variable5c7abee0]](). [[#variable5c7abde0]](node)) {
    return parent.getAST().resolveWellKnownType("int"); //$NON-NLS-1$
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5c7c0020]]
ARRAY_CREATION 
12[[#5c7c0020]]
SWITCH_STATEMENT 
21[[#5c7abf80]]
ArrayCreation 
22[[#5c7abf80]]
SwitchStatement 
31[[#5c7abee0]]
dimensions 
32[[#5c7abee0]]
getExpression 
41[[#5c7abde0]]
contains 
42[[#5c7abde0]]
equals