Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 1 | 0.985 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 2009 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
2 | 8 | 2730 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
3 | 9 | 2778 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java |
| ||||
if (node.getAST().apiLevel() == JLS2_INTERNAL) { rewriteModifiers(node, FieldDeclaration.MODIFIERS_PROPERTY, pos); } else { rewriteModifiers2(node, FieldDeclaration.MODIFIERS2_PROPERTY, pos); } pos = rewriteRequiredNode(node, FieldDeclaration.TYPE_PROPERTY); rewriteNodeList(node, FieldDeclaration.FRAGMENTS_PROPERTY, pos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$ return false; |
| ||||
if (node.getAST().apiLevel() == JLS2_INTERNAL) { rewriteModifiers(node, VariableDeclarationExpression.MODIFIERS_PROPERTY, pos); } else { rewriteModifiers2(node, VariableDeclarationExpression.MODIFIERS2_PROPERTY, pos); } pos = rewriteRequiredNode(node, VariableDeclarationExpression.TYPE_PROPERTY); rewriteNodeList(node, VariableDeclarationExpression.FRAGMENTS_PROPERTY, pos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$ return false; |
| ||||
if (node.getAST().apiLevel() == JLS2_INTERNAL) { rewriteModifiers(node, VariableDeclarationStatement.MODIFIERS_PROPERTY, pos); } else { rewriteModifiers2(node, VariableDeclarationStatement.MODIFIERS2_PROPERTY, pos); } pos = rewriteRequiredNode(node, VariableDeclarationStatement.TYPE_PROPERTY); rewriteNodeList(node, VariableDeclarationStatement.FRAGMENTS_PROPERTY, pos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$ return false; |
| |||
if (node.getAST().apiLevel() == JLS2_INTERNAL) { rewriteModifiers(node, [[#variable6196d340]].MODIFIERS_PROPERTY, pos); } else { rewriteModifiers2(node, [[#variable6196d340]].MODIFIERS2_PROPERTY, pos); } pos = rewriteRequiredNode(node, [[#variable6196d340]].TYPE_PROPERTY); rewriteNodeList(node, [[#variable6196d340]].FRAGMENTS_PROPERTY, pos, "", ", "); //$NON-NLS-1$ //$NON-NLS-2$ return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6196d340]] | VariableDeclarationStatement |
1 | 2 | [[#6196d340]] | VariableDeclarationExpression |
1 | 3 | [[#6196d340]] | FieldDeclaration |