CloneSet410


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
81140.957statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18787
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
28795
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
38803
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
48811
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
58819
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
68827
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
78835
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
88843
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
98851
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
108859
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
118867
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java
Clone Instance
1
Line Count
8
Source Line
787
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatterOptions.java

                if (bracePositionForAnnotationTypeDeclarationOption != null) {
                        try {
                                this.brace_position_for_annotation_type_declaration = (String) bracePositionForAnnotationTypeDeclarationOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_annotation_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForAnonymousTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION);


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

                if (bracePositionForAnonymousTypeDeclarationOption != null) {
                        try {
                                this.brace_position_for_anonymous_type_declaration = (String) bracePositionForAnonymousTypeDeclarationOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_anonymous_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER);


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

                if (bracePositionForArrayInitializerOption != null) {
                        try {
                                this.brace_position_for_array_initializer = (String) bracePositionForArrayInitializerOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_array_initializer = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK);


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

                if (bracePositionForBlockOption != null) {
                        try {
                                this.brace_position_for_block = (String) bracePositionForBlockOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_block = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForBlockInCaseOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE);


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

                if (bracePositionForBlockInCaseOption != null) {
                        try {
                                this.brace_position_for_block_in_case = (String) bracePositionForBlockInCaseOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_block_in_case = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION);


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

                if (bracePositionForConstructorDeclarationOption != null) {
                        try {
                                this.brace_position_for_constructor_declaration = (String) bracePositionForConstructorDeclarationOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_constructor_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT);


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

                if (bracePositionForEnumConstantOption != null) {
                        try {
                                this.brace_position_for_enum_constant = (String) bracePositionForEnumConstantOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION);


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

                if (bracePositionForEnumDeclarationOption != null) {
                        try {
                                this.brace_position_for_enum_declaration = (String) bracePositionForEnumDeclarationOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_enum_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION);


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

                if (bracePositionForMethodDeclarationOption != null) {
                        try {
                                this.brace_position_for_method_declaration = (String) bracePositionForMethodDeclarationOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_method_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH);


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

                if (bracePositionForSwitchOption != null) {
                        try {
                                this.brace_position_for_switch = (String) bracePositionForSwitchOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_switch = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object bracePositionForTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION);


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

                if (bracePositionForTypeDeclarationOption != null) {
                        try {
                                this.brace_position_for_type_declaration = (String) bracePositionForTypeDeclarationOption;
                        } catch (ClassCastException e) {
                                this.brace_position_for_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE;
                          }
                }
                final Object continuationIndentationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION);


Clone AbstractionParameter Count: 4Parameter Bindings

if ( [[#variableb5611140]]!= null) {
  try {
    this. [[#variableb42839a0]]= (String)  [[#variableb5611140]];
  }
  catch (ClassCastException e) {
    this. [[#variableb42839a0]]= DefaultCodeFormatterConstants.END_OF_LINE;
  }
}
final Object  [[#variableb88808c0]]= settings.get(DefaultCodeFormatterConstants. [[#variableb5611180]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b5611140]]
bracePositionForTypeDeclarationOption 
12[[#b5611140]]
bracePositionForSwitchOption 
13[[#b5611140]]
bracePositionForMethodDeclarationOption 
14[[#b5611140]]
bracePositionForEnumDeclarationOption 
15[[#b5611140]]
bracePositionForEnumConstantOption 
16[[#b5611140]]
bracePositionForConstructorDeclarationOption 
17[[#b5611140]]
bracePositionForBlockInCaseOption 
18[[#b5611140]]
bracePositionForBlockOption 
19[[#b5611140]]
bracePositionForArrayInitializerOption 
110[[#b5611140]]
bracePositionForAnonymousTypeDeclarationOption 
111[[#b5611140]]
bracePositionForAnnotationTypeDeclarationOption 
21[[#b42839a0]]
brace_position_for_type_declaration 
22[[#b42839a0]]
brace_position_for_switch 
23[[#b42839a0]]
brace_position_for_method_declaration 
24[[#b42839a0]]
brace_position_for_enum_declaration 
25[[#b42839a0]]
brace_position_for_enum_constant 
26[[#b42839a0]]
brace_position_for_constructor_declaration 
27[[#b42839a0]]
brace_position_for_block_in_case 
28[[#b42839a0]]
brace_position_for_block 
29[[#b42839a0]]
brace_position_for_array_initializer 
210[[#b42839a0]]
brace_position_for_anonymous_type_declaration 
211[[#b42839a0]]
brace_position_for_annotation_type_declaration 
31[[#b88808c0]]
continuationIndentationOption 
32[[#b88808c0]]
bracePositionForTypeDeclarationOption 
33[[#b88808c0]]
bracePositionForSwitchOption 
34[[#b88808c0]]
bracePositionForMethodDeclarationOption 
35[[#b88808c0]]
bracePositionForEnumDeclarationOption 
36[[#b88808c0]]
bracePositionForEnumConstantOption 
37[[#b88808c0]]
bracePositionForConstructorDeclarationOption 
38[[#b88808c0]]
bracePositionForBlockInCaseOption 
39[[#b88808c0]]
bracePositionForBlockOption 
310[[#b88808c0]]
bracePositionForArrayInitializerOption 
311[[#b88808c0]]
bracePositionForAnonymousTypeDeclarationOption 
41[[#b5611180]]
FORMATTER_CONTINUATION_INDENTATION 
42[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION 
43[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_SWITCH 
44[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION 
45[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION 
46[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT 
47[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION 
48[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE 
49[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_BLOCK 
410[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER 
411[[#b5611180]]
FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION