CloneSet6019


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8240.967class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18270
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java
28280
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java
Clone Instance
1
Line Count
8
Source Line
270
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java

    private final static PreviewSnippet ANNOTATION_DECL_PREVIEW = new PreviewSnippet(
         CodeFormatter.K_CLASS_BODY_DECLARATIONS, 
         "@interface MyAnnotation { String value(); }\n@interface OtherAnnotation { }\n" //$NON-NLS-1$
                                                                                    );

    private final static PreviewSnippet ANNOTATION_MODIFIER_PREVIEW = new PreviewSnippet(
         CodeFormatter.K_CLASS_BODY_DECLARATIONS, 
         "@Annot(x=23, y=-3)\npublic class A { }\n" //$NON-NLS-1$
                                                                                        );


Clone Instance
2
Line Count
8
Source Line
280
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java

    private final static PreviewSnippet ENUM_PREVIEW = new PreviewSnippet(
         CodeFormatter.K_CLASS_BODY_DECLARATIONS, 
         "enum MyEnum { GREEN(0, 1), RED() {\nvoid process() {}\n}\n}" //$NON-NLS-1$
                                                                         );

    private final static PreviewSnippet PARAMETERIZED_TYPE_REFERENCE_PREVIEW = new PreviewSnippet(
             CodeFormatter.K_CLASS_BODY_DECLARATIONS, 
             "Map<String, Element> map=\n new HashMap<String, Element>();" //$NON-NLS-1$
                                                                                                 );


Clone AbstractionParameter Count: 4Parameter Bindings

private final static PreviewSnippet  [[#variable77409ce0]]= new PreviewSnippet(CodeFormatter.K_CLASS_BODY_DECLARATIONS,  [[#variable77409680]]);

private final static PreviewSnippet  [[#variable77409600]]= new PreviewSnippet(CodeFormatter.K_CLASS_BODY_DECLARATIONS,  [[#variable76cd75a0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77409ce0]]
ENUM_PREVIEW 
12[[#77409ce0]]
ANNOTATION_DECL_PREVIEW 
21[[#77409680]]
"enum MyEnum { GREEN(0, 1), RED() {\nvoid process() {}\n}\n}" //$NON-NLS-1$ 
22[[#77409680]]
"@interface MyAnnotation { String value(); }\n@interface OtherAnnotation { }\n" //$NON-NLS-1$ 
31[[#77409600]]
PARAMETERIZED_TYPE_REFERENCE_PREVIEW 
32[[#77409600]]
ANNOTATION_MODIFIER_PREVIEW 
41[[#76cd75a0]]
"Map<String, Element> map=\n new HashMap<String, Element>();" //$NON-NLS-1$ 
42[[#76cd75a0]]
"@Annot(x=23, y=-3)\npublic class A { }\n" //$NON-NLS-1$