CloneSet2791


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.973executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171924
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
261948
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
7
Source Line
1924
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                                                                             {
                                                        MultiFieldDeclaration multiField = (MultiFieldDeclaration) member;

                                                        if (multiField.isStatic()) {
                                                                format(multiField, this, typeDeclaration.staticInitializerScope, isChunkStart, i == 0);
                                                        }
                                                        else   {
                                                                format(multiField, this, typeDeclaration.initializerScope, isChunkStart, i == 0);
                                                        }
                                                                                             }


Clone Instance
2
Line Count
6
Source Line
1948
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                                       {
                                                        FieldDeclaration field = (FieldDeclaration) member;
                                                        if (field.isStatic()) {
                                                                format(field, this, typeDeclaration.staticInitializerScope, isChunkStart, i == 0);
                                                        }
                                                        else   {
                                                                format(field, this, typeDeclaration.initializerScope, isChunkStart, i == 0);
                                                        }
                                                       }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variableb3ac22a0]]  [[#variableb3ac2320]]= ( [[#variableb3ac22a0]]) member;
  if ( [[#variableb3ac2320]].isStatic()) {
    format( [[#variableb3ac2320]], this, typeDeclaration.staticInitializerScope, isChunkStart, i == 0);
  }
  else {
    format( [[#variableb3ac2320]], this, typeDeclaration.initializerScope, isChunkStart, i == 0);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3ac22a0]]
FieldDeclaration 
12[[#b3ac22a0]]
MultiFieldDeclaration 
21[[#b3ac2320]]
field 
22[[#b3ac2320]]
multiField