Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.955 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 325 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewCUCompletionUsingWizardProposal.java |
2 | 5 | 332 | 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; |
| ||||
case ASTNode.SINGLE_VARIABLE_DECLARATION: if (parent.getLocationInParent() == CatchClause.EXCEPTION_PROPERTY) { return ast.resolveWellKnownType("java.lang.Exception"); //$NON-NLS-1$ } break; |
| |||
case ASTNode. [[#variable50643080]]: if ( [[#variable50643020]].getLocationInParent() == [[#variable50642fc0]]. [[#variable50642e20]]) { return ast.resolveWellKnownType("java.lang.Exception"); //$NON-NLS-1$ } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50643080]] | METHOD_DECLARATION |
1 | 2 | [[#50643080]] | SINGLE_VARIABLE_DECLARATION |
2 | 1 | [[#50643020]] | node |
2 | 2 | [[#50643020]] | parent |
3 | 1 | [[#50642fc0]] | MethodDeclaration |
3 | 2 | [[#50642fc0]] | CatchClause |
4 | 1 | [[#50642e20]] | THROWN_EXCEPTIONS_PROPERTY |
4 | 2 | [[#50642e20]] | EXCEPTION_PROPERTY |