CloneSet338


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16610.996statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1162624
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
2162655
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
3164276
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
4164328
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
5164372
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
6164416
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
16
Source Line
2624
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                if (dimensions != 0) {
                        if (this.preferences.insert_space_before_opening_bracket_in_array_type_reference) {
                                this.scribe.space();
                        }
                        for (int i = 0; i < dimensions; i++) {
                                this.scribe.printNextToken(TerminalTokens.TokenNameLBRACKET);
                                if (this.preferences.insert_space_between_brackets_in_array_type_reference) {
                                        this.scribe.space();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACKET);
                        }
                }
                if (numberOfParens > 0) {
                        manageClosingParenthesizedExpression(arrayTypeReference, numberOfParens);
                }
                return false;


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

                if (dimensions != 0) {
                        if (this.preferences.insert_space_before_opening_bracket_in_array_type_reference) {
                                this.scribe.space();
                        }
                        for (int i = 0; i < dimensions; i++) {
                                this.scribe.printNextToken(TerminalTokens.TokenNameLBRACKET);
                                if (this.preferences.insert_space_between_brackets_in_array_type_reference) {
                                        this.scribe.space();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACKET);
                        }
                }
                if (numberOfParens > 0) {
                        manageClosingParenthesizedExpression(arrayTypeReference, numberOfParens);
                }
                return false;


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

                if (dimensions != 0) {
                        if (this.preferences.insert_space_before_opening_bracket_in_array_type_reference) {
                                this.scribe.space();
                        }
                        for (int i = 0; i < dimensions; i++) {
                                this.scribe.printNextToken(TerminalTokens.TokenNameLBRACKET);
                                if (this.preferences.insert_space_between_brackets_in_array_type_reference) {
                                        this.scribe.space();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACKET);
                        }
                }
                if (numberOfParens > 0) {
                        manageClosingParenthesizedExpression(parameterizedQualifiedTypeReference, numberOfParens);
                }
                return false;


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

                if (dimensions != 0) {
                        if (this.preferences.insert_space_before_opening_bracket_in_array_type_reference) {
                                this.scribe.space();
                        }
                        for (int i = 0; i < dimensions; i++) {
                                this.scribe.printNextToken(TerminalTokens.TokenNameLBRACKET);
                                if (this.preferences.insert_space_between_brackets_in_array_type_reference) {
                                        this.scribe.space();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACKET);
                        }
                }
                if (numberOfParens > 0) {
                        manageClosingParenthesizedExpression(parameterizedQualifiedTypeReference, numberOfParens);
                }
                return false;


Clone Instance
5
Line Count
16
Source Line
4372
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                if (dimensions != 0) {
                        if (this.preferences.insert_space_before_opening_bracket_in_array_type_reference) {
                                this.scribe.space();
                        }
                        for (int i = 0; i < dimensions; i++) {
                                this.scribe.printNextToken(TerminalTokens.TokenNameLBRACKET);
                                if (this.preferences.insert_space_between_brackets_in_array_type_reference) {
                                        this.scribe.space();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACKET);
                        }
                }
                if (numberOfParens > 0) {
                        manageClosingParenthesizedExpression(parameterizedSingleTypeReference, numberOfParens);
                }
                return false;


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

                if (dimensions != 0) {
                        if (this.preferences.insert_space_before_opening_bracket_in_array_type_reference) {
                                this.scribe.space();
                        }
                        for (int i = 0; i < dimensions; i++) {
                                this.scribe.printNextToken(TerminalTokens.TokenNameLBRACKET);
                                if (this.preferences.insert_space_between_brackets_in_array_type_reference) {
                                        this.scribe.space();
                                }
                                this.scribe.printNextToken(TerminalTokens.TokenNameRBRACKET);
                        }
                }
                if (numberOfParens > 0) {
                        manageClosingParenthesizedExpression(parameterizedSingleTypeReference, numberOfParens);
                }
                return false;


Clone AbstractionParameter Count: 1Parameter Bindings

if (dimensions != 0) {
  if (this.preferences.insert_space_before_opening_bracket_in_array_type_reference) {
    this.scribe.space();
  }
  for (int i = 0; i < dimensions; i++) {
    this.scribe.printNextToken(TerminalTokens.TokenNameLBRACKET);
    if (this.preferences.insert_space_between_brackets_in_array_type_reference) {
      this.scribe.space();
    }
    this.scribe.printNextToken(TerminalTokens.TokenNameRBRACKET);
  }
}
if (numberOfParens > 0) {
  manageClosingParenthesizedExpression( [[#variablea53b88c0]], numberOfParens);
}
return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a53b88c0]]
parameterizedSingleTypeReference 
12[[#a53b88c0]]
parameterizedQualifiedTypeReference 
13[[#a53b88c0]]
arrayTypeReference 
14[[#a53b88c0]]
parameterizedQualifiedTypeReference 
15[[#a53b88c0]]
parameterizedSingleTypeReference 
16[[#a53b88c0]]
arrayTypeReference