CloneSet1108


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9310.985statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
192009
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
282730
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
392778
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java
Clone Instance
1
Line Count
9
Source Line
2009
Source File
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;


Clone Instance
2
Line Count
8
Source Line
2730
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                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;


Clone Instance
3
Line Count
9
Source Line
2778
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteAnalyzer.java

                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;


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6196d340]]
VariableDeclarationStatement 
12[[#6196d340]]
VariableDeclarationExpression 
13[[#6196d340]]
FieldDeclaration