Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.982 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 113 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java |
2 | 5 | 118 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java |
| ||||
{ IMethodBinding decl = ((IMethodBinding) binding).getMethodDeclaration(); ASTNode declaration = root.findDeclaringNode(decl); rewrite = ASTRewrite.create(root.getAST()); rewrite.remove(declaration, null); } |
| ||||
{ ITypeBinding decl = ((ITypeBinding) binding).getTypeDeclaration(); ASTNode declaration = root.findDeclaringNode(decl); rewrite = ASTRewrite.create(root.getAST()); rewrite.remove(declaration, null); } |
| |||
{ [[#variable644b1b60]] decl = (( [[#variable644b1b60]]) binding). [[#variable644b1ac0]](); ASTNode declaration = root.findDeclaringNode(decl); rewrite = ASTRewrite.create(root.getAST()); rewrite.remove(declaration, null); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#644b1b60]] | IMethodBinding |
1 | 2 | [[#644b1b60]] | ITypeBinding |
2 | 1 | [[#644b1ac0]] | getMethodDeclaration |
2 | 2 | [[#644b1ac0]] | getTypeDeclaration |