CloneSet5758


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161181
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
26986
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
6
Source Line
1181
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                if (this.preferences.insert_new_line_in_empty_anonymous_type_declaration) {
                        this.scribe.printNewLine();
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE);
                if (anonymous_type_declaration_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) {
                        this.scribe.unIndent();
                }


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

                if (this.preferences.insert_new_line_in_empty_anonymous_type_declaration) {
                        this.scribe.printNewLine();
                }
                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE);
                if (anonymous_type_declaration_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) {
                        this.scribe.unIndent();
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (this.preferences.insert_new_line_in_empty_anonymous_type_declaration) {
  this.scribe.printNewLine();
}
this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE);
if (anonymous_type_declaration_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) {
  this.scribe.unIndent();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None