Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1476 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java |
2 | 9 | 533 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java |
| ||||
private void formatEmptyTypeDeclaration(boolean isFirst) { boolean hasSemiColon = isNextToken(TerminalTokens.TokenNameSEMICOLON); while (isNextToken(TerminalTokens.TokenNameSEMICOLON)) { this.scribe.printComment(); this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); this.scribe.printTrailingComment(); } if (hasSemiColon && isFirst) { this.scribe.printNewLine(); } } |
| ||||
private void formatEmptyTypeDeclaration(boolean isFirst) { boolean hasSemiColon = isNextToken(TerminalTokens.TokenNameSEMICOLON); while (isNextToken(TerminalTokens.TokenNameSEMICOLON)) { this.scribe.printComment(); this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); this.scribe.printTrailingComment(); } if (hasSemiColon && isFirst) { this.scribe.printNewLine(); } } |
| |||
private void formatEmptyTypeDeclaration(boolean isFirst) { boolean hasSemiColon = isNextToken(TerminalTokens.TokenNameSEMICOLON); while (isNextToken(TerminalTokens.TokenNameSEMICOLON)) { this.scribe.printComment(); this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon); this.scribe.printTrailingComment(); } if (hasSemiColon && isFirst) { this.scribe.printNewLine(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |