CloneSet1284


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4830.968statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
143281
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
243324
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
345102
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
445122
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
541578
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
641597
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
743144
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
843166
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
4
Source Line
3281
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                if (this.preferences.insert_new_line_before_while_in_do_statement) {
                        this.scribe.printNewLine();
                }
                this.scribe.printNextToken(TerminalTokens.TokenNamewhile, this.preferences.insert_space_after_closing_brace_in_block);


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

                if (this.preferences.put_empty_statement_on_new_line) {
                        this.scribe.printNewLine();
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);


Clone Instance
3
Line Count
4
Source Line
5102
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                if (this.preferences.insert_new_line_before_catch_in_try_statement) {
                                        this.scribe.printNewLine();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNamecatch, this.preferences.insert_space_after_closing_brace_in_block);


Clone Instance
4
Line Count
4
Source Line
5122
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                        if (this.preferences.insert_new_line_before_finally_in_try_statement) {
                                this.scribe.printNewLine();
                        }
                        this.scribe.printNextToken(TerminalTokens.TokenNamefinally, this.preferences.insert_space_after_closing_brace_in_block);


Clone Instance
5
Line Count
4
Source Line
1578
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                if (this.preferences.insert_new_line_before_while_in_do_statement) {
                        this.scribe.printNewLine();
                }
                this.scribe.printNextToken(TerminalTokens.TokenNamewhile, this.preferences.insert_space_after_closing_brace_in_block);


Clone Instance
6
Line Count
4
Source Line
1597
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                if (this.preferences.put_empty_statement_on_new_line) {
                        this.scribe.printNewLine();
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);


Clone Instance
7
Line Count
4
Source Line
3144
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                                if (this.preferences.insert_new_line_before_catch_in_try_statement) {
                                        this.scribe.printNewLine();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNamecatch, this.preferences.insert_space_after_closing_brace_in_block);


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

                        if (this.preferences.insert_new_line_before_finally_in_try_statement) {
                                this.scribe.printNewLine();
                        }
                        this.scribe.printNextToken(TerminalTokens.TokenNamefinally, this.preferences.insert_space_after_closing_brace_in_block);


Clone AbstractionParameter Count: 3Parameter Bindings

if (this.preferences. [[#variable967f7d20]]) {
  this.scribe.printNewLine();
}
this.scribe.printNextToken(TerminalTokens. [[#variable967f6720]], this.preferences. [[#variable967f7cc0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#967f7d20]]
insert_new_line_before_finally_in_try_statement 
12[[#967f7d20]]
insert_new_line_before_catch_in_try_statement 
13[[#967f7d20]]
put_empty_statement_on_new_line 
14[[#967f7d20]]
insert_new_line_before_while_in_do_statement 
15[[#967f7d20]]
insert_new_line_before_finally_in_try_statement 
16[[#967f7d20]]
insert_new_line_before_catch_in_try_statement 
17[[#967f7d20]]
put_empty_statement_on_new_line 
18[[#967f7d20]]
insert_new_line_before_while_in_do_statement 
21[[#967f6720]]
TokenNamefinally 
22[[#967f6720]]
TokenNamecatch 
23[[#967f6720]]
TokenNameSEMICOLON 
24[[#967f6720]]
TokenNamewhile 
25[[#967f6720]]
TokenNamefinally 
26[[#967f6720]]
TokenNamecatch 
27[[#967f6720]]
TokenNameSEMICOLON 
28[[#967f6720]]
TokenNamewhile 
31[[#967f7cc0]]
insert_space_after_closing_brace_in_block 
32[[#967f7cc0]]
insert_space_after_closing_brace_in_block 
33[[#967f7cc0]]
insert_space_before_semicolon 
34[[#967f7cc0]]
insert_space_after_closing_brace_in_block 
35[[#967f7cc0]]
insert_space_after_closing_brace_in_block 
36[[#967f7cc0]]
insert_space_after_closing_brace_in_block 
37[[#967f7cc0]]
insert_space_before_semicolon 
38[[#967f7cc0]]
insert_space_after_closing_brace_in_block