CloneSet8291


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.965class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16405
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
26413
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
Clone Instance
1
Line Count
6
Source Line
405
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java

        private final Category fMethodThrowsClauseCategory = new Category(
             DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION, 
             "class Example {" + //$NON-NLS-1$
              "int foo() throws FirstException, SecondException, ThirdException {" + //$NON-NLS-1$
              "  return Other.doSomething();}}", //$NON-NLS-1$
              FormatterMessages.LineWrappingTabPage_throws_clause        );


Clone Instance
2
Line Count
6
Source Line
413
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java

        private final Category fConstructorThrowsClauseCategory = new Category(
             DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION, 
             "class Example {" + //$NON-NLS-1$
              "Example() throws FirstException, SecondException, ThirdException {" + //$NON-NLS-1$
              "  return Other.doSomething();}}", //$NON-NLS-1$
              FormatterMessages.LineWrappingTabPage_throws_clause             );


Clone AbstractionParameter Count: 3Parameter Bindings

private final Category  [[#variablebc317d80]]= new Category(DefaultCodeFormatterConstants. [[#variablebc317d00]], "class Example {" + //$NON-NLS-1$
                                                                                                                    [[#variablebc317c80]] + //$NON-NLS-1$
                                                                                                                   "  return Other.doSomething();}}", //$NON-NLS-1$
                                                             FormatterMessages.LineWrappingTabPage_throws_clause);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bc317d80]]
fMethodThrowsClauseCategory 
12[[#bc317d80]]
fConstructorThrowsClauseCategory 
21[[#bc317d00]]
FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION 
22[[#bc317d00]]
FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION 
31[[#bc317c80]]
"int foo() throws FirstException, SecondException, ThirdException {" 
32[[#bc317c80]]
"Example() throws FirstException, SecondException, ThirdException {"