CloneSet8056


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

                        case ASTNode.METHOD_DECLARATION:
                                if (node.getLocationInParent() == MethodDeclaration.THROWN_EXCEPTIONS_PROPERTY) {
                                        return ast.resolveWellKnownType("java.lang.Exception"); //$NON-NLS-1$
                                }
                                break;


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

                        case ASTNode.SINGLE_VARIABLE_DECLARATION:
                                if (parent.getLocationInParent() == CatchClause.EXCEPTION_PROPERTY) {
                                        return ast.resolveWellKnownType("java.lang.Exception"); //$NON-NLS-1$
                                }
                                break;


Clone AbstractionParameter Count: 4Parameter Bindings

case ASTNode. [[#variable50643080]]:
  if ( [[#variable50643020]].getLocationInParent() == [[#variable50642fc0]]. [[#variable50642e20]]) {
    return ast.resolveWellKnownType("java.lang.Exception"); //$NON-NLS-1$
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50643080]]
METHOD_DECLARATION 
12[[#50643080]]
SINGLE_VARIABLE_DECLARATION 
21[[#50643020]]
node 
22[[#50643020]]
parent 
31[[#50642fc0]]
MethodDeclaration 
32[[#50642fc0]]
CatchClause 
41[[#50642e20]]
THROWN_EXCEPTIONS_PROPERTY 
42[[#50642e20]]
EXCEPTION_PROPERTY