CloneSet206


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
101240.962statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110895
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
210905
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
310915
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
410925
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
510935
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
610945
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
710955
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
810965
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
910975
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
1010985
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
1110995
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
12101797
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
Clone Instance
1
Line Count
10
Source Line
895
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesAfterImportsOption != null) {
                        try {
                                this.blank_lines_after_imports = Integer.parseInt((String) blankLinesAfterImportsOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_after_imports = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_after_imports = 0;
                          }
                }
                final Object blankLinesAfterPackageOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_PACKAGE);


Clone Instance
2
Line Count
10
Source Line
905
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesAfterPackageOption != null) {
                        try {
                                this.blank_lines_after_package = Integer.parseInt((String) blankLinesAfterPackageOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_after_package = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_after_package = 0;
                          }
                }
                final Object blankLinesBeforeFieldOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIELD);


Clone Instance
3
Line Count
10
Source Line
915
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBeforeFieldOption != null) {
                        try {
                                this.blank_lines_before_field = Integer.parseInt((String) blankLinesBeforeFieldOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_before_field = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_before_field = 0;
                          }
                }
                final Object blankLinesBeforeFirstClassBodyDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION);


Clone Instance
4
Line Count
10
Source Line
925
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBeforeFirstClassBodyDeclarationOption != null) {
                        try {
                                this.blank_lines_before_first_class_body_declaration = Integer.parseInt((String) blankLinesBeforeFirstClassBodyDeclarationOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_before_first_class_body_declaration = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_before_first_class_body_declaration = 0;
                          }
                }
                final Object blankLinesBeforeImportsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_IMPORTS);


Clone Instance
5
Line Count
10
Source Line
935
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBeforeImportsOption != null) {
                        try {
                                this.blank_lines_before_imports = Integer.parseInt((String) blankLinesBeforeImportsOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_before_imports = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_before_imports = 0;
                          }
                }
                final Object blankLinesBeforeMemberTypeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE);


Clone Instance
6
Line Count
10
Source Line
945
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBeforeMemberTypeOption != null) {
                        try {
                                this.blank_lines_before_member_type = Integer.parseInt((String) blankLinesBeforeMemberTypeOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_before_member_type = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_before_member_type = 0;
                          }
                }
                final Object blankLinesBeforeMethodOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_METHOD);


Clone Instance
7
Line Count
10
Source Line
955
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBeforeMethodOption != null) {
                        try {
                                this.blank_lines_before_method = Integer.parseInt((String) blankLinesBeforeMethodOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_before_method = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_before_method = 0;
                          }
                }
                final Object blankLinesBeforeNewChunkOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK);


Clone Instance
8
Line Count
10
Source Line
965
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBeforeNewChunkOption != null) {
                        try {
                                this.blank_lines_before_new_chunk = Integer.parseInt((String) blankLinesBeforeNewChunkOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_before_new_chunk = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_before_new_chunk = 0;
                          }
                }
                final Object blankLinesBeforePackageOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_PACKAGE);


Clone Instance
9
Line Count
10
Source Line
975
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBeforePackageOption != null) {
                        try {
                                this.blank_lines_before_package = Integer.parseInt((String) blankLinesBeforePackageOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_before_package = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_before_package = 0;
                          }
                }
                final Object blankLinesBetweenTypeDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS);


Clone Instance
10
Line Count
10
Source Line
985
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesBetweenTypeDeclarationsOption != null) {
                        try {
                                this.blank_lines_between_type_declarations = Integer.parseInt((String) blankLinesBetweenTypeDeclarationsOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_between_type_declarations = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_between_type_declarations = 0;
                          }
                }
                final Object blankLinesAtBeginningOfMethodBodyOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY);


Clone Instance
11
Line Count
10
Source Line
995
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (blankLinesAtBeginningOfMethodBodyOption != null) {
                        try {
                                this.blank_lines_at_beginning_of_method_body = Integer.parseInt((String) blankLinesAtBeginningOfMethodBodyOption);
                        } catch (NumberFormatException e) {
                                this.blank_lines_at_beginning_of_method_body = 0;
                          }
                          catch (ClassCastException e) {
                                this.blank_lines_at_beginning_of_method_body = 0;
                          }
                }
                final Object commentClearBlankLinesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES);


Clone Instance
12
Line Count
10
Source Line
1797
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (numberOfEmptyLinesToPreserveOption != null) {
                        try {
                                this.number_of_empty_lines_to_preserve = Integer.parseInt((String) numberOfEmptyLinesToPreserveOption);
                        } catch (NumberFormatException e) {
                                this.number_of_empty_lines_to_preserve = 0;
                          }
                          catch (ClassCastException e) {
                                this.number_of_empty_lines_to_preserve = 0;
                          }
                }
                final Object putEmptyStatementOnNewLineOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE);


Clone AbstractionParameter Count: 4Parameter Bindings

if ( [[#variable579c9280]]!= null) {
  try {
    this. [[#variable5fd279e0]]= Integer.parseInt((String)  [[#variable579c9280]]);
  }
  catch (NumberFormatException e) {
    this. [[#variable5fd279e0]]= 0;
  }
  catch (ClassCastException e) {
    this. [[#variable5fd279e0]]= 0;
  }
}
final Object  [[#variableba7cd900]]= settings.get(DefaultCodeFormatterConstants. [[#variable7d16b260]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#579c9280]]
blankLinesAfterImportsOption 
12[[#579c9280]]
blankLinesAfterPackageOption 
13[[#579c9280]]
blankLinesBeforeFieldOption 
14[[#579c9280]]
blankLinesBeforeFirstClassBodyDeclarationOption 
15[[#579c9280]]
blankLinesBeforeImportsOption 
16[[#579c9280]]
blankLinesBeforeMemberTypeOption 
17[[#579c9280]]
blankLinesBeforeMethodOption 
18[[#579c9280]]
blankLinesBeforeNewChunkOption 
19[[#579c9280]]
blankLinesBeforePackageOption 
110[[#579c9280]]
blankLinesBetweenTypeDeclarationsOption 
111[[#579c9280]]
blankLinesAtBeginningOfMethodBodyOption 
112[[#579c9280]]
numberOfEmptyLinesToPreserveOption 
21[[#5fd279e0]]
blank_lines_after_imports 
22[[#5fd279e0]]
blank_lines_after_package 
23[[#5fd279e0]]
blank_lines_before_field 
24[[#5fd279e0]]
blank_lines_before_first_class_body_declaration 
25[[#5fd279e0]]
blank_lines_before_imports 
26[[#5fd279e0]]
blank_lines_before_member_type 
27[[#5fd279e0]]
blank_lines_before_method 
28[[#5fd279e0]]
blank_lines_before_new_chunk 
29[[#5fd279e0]]
blank_lines_before_package 
210[[#5fd279e0]]
blank_lines_between_type_declarations 
211[[#5fd279e0]]
blank_lines_at_beginning_of_method_body 
212[[#5fd279e0]]
number_of_empty_lines_to_preserve 
31[[#ba7cd900]]
blankLinesAfterPackageOption 
32[[#ba7cd900]]
blankLinesBeforeFieldOption 
33[[#ba7cd900]]
blankLinesBeforeFirstClassBodyDeclarationOption 
34[[#ba7cd900]]
blankLinesBeforeImportsOption 
35[[#ba7cd900]]
blankLinesBeforeMemberTypeOption 
36[[#ba7cd900]]
blankLinesBeforeMethodOption 
37[[#ba7cd900]]
blankLinesBeforeNewChunkOption 
38[[#ba7cd900]]
blankLinesBeforePackageOption 
39[[#ba7cd900]]
blankLinesBetweenTypeDeclarationsOption 
310[[#ba7cd900]]
blankLinesAtBeginningOfMethodBodyOption 
311[[#ba7cd900]]
commentClearBlankLinesOption 
312[[#ba7cd900]]
putEmptyStatementOnNewLineOption 
41[[#7d16b260]]
FORMATTER_BLANK_LINES_AFTER_PACKAGE 
42[[#7d16b260]]
FORMATTER_BLANK_LINES_BEFORE_FIELD 
43[[#7d16b260]]
FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION 
44[[#7d16b260]]
FORMATTER_BLANK_LINES_BEFORE_IMPORTS 
45[[#7d16b260]]
FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE 
46[[#7d16b260]]
FORMATTER_BLANK_LINES_BEFORE_METHOD 
47[[#7d16b260]]
FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK 
48[[#7d16b260]]
FORMATTER_BLANK_LINES_BEFORE_PACKAGE 
49[[#7d16b260]]
FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS 
410[[#7d16b260]]
FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY 
411[[#7d16b260]]
FORMATTER_COMMENT_CLEAR_BLANK_LINES 
412[[#7d16b260]]
FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE