CloneSet388


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8730.953statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17206
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
28242
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
38264
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
48389
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
58401
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
68415
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
78468
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
Clone Instance
1
Line Count
7
Source Line
206
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                        if (lineSeparator != null) {
                                this.preferences.line_separator = lineSeparator;
                        }
                        else   {
                                this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
                        }
                        this.preferences.initial_indentation_level = indentationLevel;
                        this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, null);


Clone Instance
2
Line Count
8
Source Line
242
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                if (lineSeparator != null) {
                        this.preferences.line_separator = lineSeparator;
                }
                else   {
                        this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
                }
                this.preferences.initial_indentation_level = indentationLevel;
                this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);


Clone Instance
3
Line Count
8
Source Line
264
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                        if (lineSeparator != null) {
                                this.preferences.line_separator = lineSeparator;
                        }
                        else   {
                                this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
                        }
                        this.preferences.initial_indentation_level = indentationLevel;
                        this.newCodeFormatter2 = new CodeFormatterVisitor2(this.preferences, this.options, offset, length, (CompilationUnit) node.getRoot());


Clone Instance
4
Line Count
8
Source Line
389
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                if (lineSeparator != null) {
                        this.preferences.line_separator = lineSeparator;
                }
                else   {
                        this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
                }
                this.preferences.initial_indentation_level = indentationLevel;
                this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);


Clone Instance
5
Line Count
8
Source Line
401
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                if (lineSeparator != null) {
                        this.preferences.line_separator = lineSeparator;
                }
                else   {
                        this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
                }
                this.preferences.initial_indentation_level = indentationLevel;
                this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);


Clone Instance
6
Line Count
8
Source Line
415
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                if (lineSeparator != null) {
                        this.preferences.line_separator = lineSeparator;
                }
                else   {
                        this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
                }
                this.preferences.initial_indentation_level = indentationLevel;
                this.newCodeFormatter = new CodeFormatterVisitor(this.preferences, this.options, offset, length, this.codeSnippetParsingUtil);


Clone Instance
7
Line Count
8
Source Line
468
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java

                                if (lineSeparator != null) {
                                        this.preferences.line_separator = lineSeparator;
                                }
                                else   {
                                        this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
                                }
                                this.preferences.initial_indentation_level = indentationLevel;
                                this.newCodeFormatter2 = new CodeFormatterVisitor2(this.preferences, this.options, offset, length, (CompilationUnit) node.getRoot());


Clone AbstractionParameter Count: 3Parameter Bindings

if (lineSeparator != null) {
  this.preferences.line_separator = lineSeparator;
}
else {
  this.preferences.line_separator = System.getProperty("line.separator"); //$NON-NLS-1$
}
this.preferences.initial_indentation_level = indentationLevel;
this. [[#variable598467c0]]= new [[#variablebd9ffca0]](this.preferences, this.options, offset, length,  [[#variableb5914020]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#598467c0]]
newCodeFormatter2 
12[[#598467c0]]
newCodeFormatter 
13[[#598467c0]]
newCodeFormatter 
14[[#598467c0]]
newCodeFormatter2 
15[[#598467c0]]
newCodeFormatter 
16[[#598467c0]]
newCodeFormatter 
17[[#598467c0]]
newCodeFormatter 
21[[#bd9ffca0]]
CodeFormatterVisitor2 
22[[#bd9ffca0]]
CodeFormatterVisitor 
23[[#bd9ffca0]]
CodeFormatterVisitor 
24[[#bd9ffca0]]
CodeFormatterVisitor2 
25[[#bd9ffca0]]
CodeFormatterVisitor 
26[[#bd9ffca0]]
CodeFormatterVisitor 
27[[#bd9ffca0]]
CodeFormatterVisitor 
31[[#b5914020]]
(CompilationUnit) node.getRoot() 
32[[#b5914020]]
null 
33[[#b5914020]]
this.codeSnippetParsingUtil 
34[[#b5914020]]
(CompilationUnit) node.getRoot() 
35[[#b5914020]]
this.codeSnippetParsingUtil 
36[[#b5914020]]
this.codeSnippetParsingUtil 
37[[#b5914020]]
this.codeSnippetParsingUtil