Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.963 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 444 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
2 | 2 | 1094 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java |
| ||||
if ( !(parent instanceof SingleVariableDeclaration) || !(parent.getParent() instanceof MethodDeclaration)) { return false; } |
| ||||
if ( !(node instanceof SimpleName) || !(node.getParent() instanceof MethodDeclaration)) { return false; } |
| |||
if ( !( [[#variableb77e7a20]]instanceof [[#variableb77e7b00]]) || !( [[#variableb77e7a20]].getParent() instanceof MethodDeclaration)) { return false; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b77e7a20]] | parent |
1 | 2 | [[#b77e7a20]] | node |
2 | 1 | [[#b77e7b00]] | SingleVariableDeclaration |
2 | 2 | [[#b77e7b00]] | SimpleName |