CloneSet4171


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.988statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12364
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java
22457
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java
Clone Instance
1
Line Count
2
Source Line
364
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java

                                if (ASTNodes.findModifierNode(Modifier.FINAL, ASTNodes.getModifiers(variableDeclaration)) == null) {
                                        ModifierRewrite.create(rewrite, variableDeclaration).setModifiers(Modifier.FINAL, Modifier.NONE, null);
                                }


Clone Instance
2
Line Count
2
Source Line
457
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java

                if (ASTNodes.findModifierNode(Modifier.FINAL, ASTNodes.getModifiers(fragment)) == null) {
                        ModifierRewrite.create(rewrite, statement).setModifiers(Modifier.FINAL, Modifier.NONE, null);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (ASTNodes.findModifierNode(Modifier.FINAL, ASTNodes.getModifiers( [[#variable7541c4c0]])) == null) {
  ModifierRewrite.create(rewrite,  [[#variable7541c440]]).setModifiers(Modifier.FINAL, Modifier.NONE, null);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7541c4c0]]
fragment 
12[[#7541c4c0]]
variableDeclaration 
21[[#7541c440]]
statement 
22[[#7541c440]]
variableDeclaration