CloneSet475


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6520.985statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16441
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
26545
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
36757
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
46988
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
561020
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java
Clone Instance
1
Line Count
6
Source Line
441
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

                if (node.getAST().apiLevel() == JLS2_INTERNAL) {
                        printModifiers(getIntAttribute(node, FieldDeclaration.MODIFIERS_PROPERTY), this.result);
                }
                else   {
                        visitList(node, FieldDeclaration.MODIFIERS2_PROPERTY, String.valueOf(' '), EMPTY, String.valueOf(' '));
                }
                getChildNode(node, FieldDeclaration.TYPE_PROPERTY).accept(this );


Clone Instance
2
Line Count
6
Source Line
545
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

                if (node.getAST().apiLevel() == JLS2_INTERNAL) {
                        printModifiers(getIntAttribute(node, Initializer.MODIFIERS_PROPERTY), this.result);
                }
                else   {
                        visitList(node, Initializer.MODIFIERS2_PROPERTY, String.valueOf(' '), EMPTY, String.valueOf(' '));
                }
                getChildNode(node, Initializer.BODY_PROPERTY).accept(this );


Clone Instance
3
Line Count
6
Source Line
757
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

                if (node.getAST().apiLevel() == JLS2_INTERNAL) {
                        printModifiers(getIntAttribute(node, SingleVariableDeclaration.MODIFIERS_PROPERTY), this.result);
                }
                else   {
                        visitList(node, SingleVariableDeclaration.MODIFIERS2_PROPERTY, String.valueOf(' '), EMPTY, String.valueOf(' '));
                }
                getChildNode(node, SingleVariableDeclaration.TYPE_PROPERTY).accept(this );


Clone Instance
4
Line Count
6
Source Line
988
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

                if (node.getAST().apiLevel() == JLS2_INTERNAL) {
                        printModifiers(getIntAttribute(node, VariableDeclarationExpression.MODIFIERS_PROPERTY), this.result);
                }
                else   {
                        visitList(node, VariableDeclarationExpression.MODIFIERS2_PROPERTY, String.valueOf(' '), EMPTY, String.valueOf(' '));
                }
                getChildNode(node, VariableDeclarationExpression.TYPE_PROPERTY).accept(this );


Clone Instance
5
Line Count
6
Source Line
1020
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFlattener.java

                if (node.getAST().apiLevel() == JLS2_INTERNAL) {
                        printModifiers(getIntAttribute(node, VariableDeclarationStatement.MODIFIERS_PROPERTY), this.result);
                }
                else   {
                        visitList(node, VariableDeclarationStatement.MODIFIERS2_PROPERTY, String.valueOf(' '), EMPTY, String.valueOf(' '));
                }
                getChildNode(node, VariableDeclarationStatement.TYPE_PROPERTY).accept(this );


Clone AbstractionParameter Count: 2Parameter Bindings

if (node.getAST().apiLevel() == JLS2_INTERNAL) {
  printModifiers(getIntAttribute(node,  [[#variableb317ef60]].MODIFIERS_PROPERTY), this.result);
}
else {
  visitList(node,  [[#variableb317ef60]].MODIFIERS2_PROPERTY, String.valueOf(' '), EMPTY, String.valueOf(' '));
}
getChildNode(node,  [[#variableb317ef60]]. [[#variableb317ef00]]).accept(this );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b317ef60]]
FieldDeclaration 
12[[#b317ef60]]
Initializer 
13[[#b317ef60]]
SingleVariableDeclaration 
14[[#b317ef60]]
VariableDeclarationExpression 
15[[#b317ef60]]
VariableDeclarationStatement 
21[[#b317ef00]]
TYPE_PROPERTY 
22[[#b317ef00]]
BODY_PROPERTY 
23[[#b317ef00]]
TYPE_PROPERTY 
24[[#b317ef00]]
TYPE_PROPERTY 
25[[#b317ef00]]
TYPE_PROPERTY