Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 4 | 3 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 569 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java |
2 | 1 | 570 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java |
3 | 1 | 574 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java |
4 | 1 | 575 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java |
| ||||
public final Prefix ENUM_BODY_START = new FormattingPrefix("enum E { A(){void foo(){}} }", "){v", CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$ |
| ||||
public final Prefix ENUM_BODY_END = new FormattingPrefix("enum E { A(){void foo(){ }}, B}", "}},", CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$ |
| ||||
public final Prefix FIRST_ENUM_CONST = new FormattingPrefix("enum E { X;}", "{ X", CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$ |
| ||||
public final Prefix ANNOTATION_SEPARATION = new FormattingPrefix("@A @B class C {}", "A @", CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$ |
| |||
public final Prefix [[#variableb217dc60]]= new FormattingPrefix( [[#variableb217dbc0]], [[#variableb217dae0]], CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b217dc60]] | ENUM_BODY_START |
1 | 2 | [[#b217dc60]] | ENUM_BODY_END |
1 | 3 | [[#b217dc60]] | FIRST_ENUM_CONST |
1 | 4 | [[#b217dc60]] | ANNOTATION_SEPARATION |
2 | 1 | [[#b217dbc0]] | "enum E { A(){void foo(){}} }" |
2 | 2 | [[#b217dbc0]] | "enum E { A(){void foo(){ }}, B}" |
2 | 3 | [[#b217dbc0]] | "enum E { X;}" |
2 | 4 | [[#b217dbc0]] | "@A @B class C {}" |
3 | 1 | [[#b217dae0]] | "){v" |
3 | 2 | [[#b217dae0]] | "}}," |
3 | 3 | [[#b217dae0]] | "{ X" |
3 | 4 | [[#b217dae0]] | "A @" |