CloneSet4891


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1430.958class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11569
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java
21570
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java
31574
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java
41575
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java
Clone Instance
1
Line Count
1
Source Line
569
Source File
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$


Clone Instance
2
Line Count
1
Source Line
570
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java

        public final Prefix ENUM_BODY_END = new FormattingPrefix("enum E { A(){void foo(){ }}, B}", "}},",  CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$


Clone Instance
3
Line Count
1
Source Line
574
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java

        public final Prefix FIRST_ENUM_CONST = new FormattingPrefix("enum E { X;}", "{ X",  CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$


Clone Instance
4
Line Count
1
Source Line
575
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ASTRewriteFormatter.java

        public final Prefix ANNOTATION_SEPARATION = new FormattingPrefix("@A @B class C {}", "A @",  CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$


Clone AbstractionParameter Count: 3Parameter Bindings

public final Prefix  [[#variableb217dc60]]= new FormattingPrefix( [[#variableb217dbc0]],  [[#variableb217dae0]], CodeFormatter.K_COMPILATION_UNIT); //$NON-NLS-1$ //$NON-NLS-2$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b217dc60]]
ENUM_BODY_START 
12[[#b217dc60]]
ENUM_BODY_END 
13[[#b217dc60]]
FIRST_ENUM_CONST 
14[[#b217dc60]]
ANNOTATION_SEPARATION 
21[[#b217dbc0]]
"enum E { A(){void foo(){}} }" 
22[[#b217dbc0]]
"enum E { A(){void foo(){ }}, B}" 
23[[#b217dbc0]]
"enum E { X;}" 
24[[#b217dbc0]]
"@A @B class C {}" 
31[[#b217dae0]]
"){v" 
32[[#b217dae0]]
"}}," 
33[[#b217dae0]]
"{ X" 
34[[#b217dae0]]
"A @"