CloneSet1095


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14260.973statement_sequence[11]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114168
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java
214355
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
Clone Instance
1
Line Count
14
Source Line
168
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java

                PresentationReconciler reconciler = new JavaPresentationReconciler();
                reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));

                DefaultDamagerRepairer dr = new DefaultDamagerRepairer(getPropertyKeyScanner());
                reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
                reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);

                dr = new DefaultDamagerRepairer(getCommentScanner());
                reconciler.setDamager(dr, IPropertiesFilePartitions.COMMENT);
                reconciler.setRepairer(dr, IPropertiesFilePartitions.COMMENT);

                dr = new DefaultDamagerRepairer(getPropertyValueScanner());
                reconciler.setDamager(dr, IPropertiesFilePartitions.PROPERTY_VALUE);
                reconciler.setRepairer(dr, IPropertiesFilePartitions.PROPERTY_VALUE);


Clone Instance
2
Line Count
14
Source Line
355
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java

                PresentationReconciler reconciler = new JavaPresentationReconciler();
                reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));

                DefaultDamagerRepairer dr = new DefaultDamagerRepairer(getCodeScanner());
                reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
                reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);

                dr = new DefaultDamagerRepairer(getJavaDocScanner());
                reconciler.setDamager(dr, IJavaPartitions.JAVA_DOC);
                reconciler.setRepairer(dr, IJavaPartitions.JAVA_DOC);

                dr = new DefaultDamagerRepairer(getMultilineCommentScanner());
                reconciler.setDamager(dr, IJavaPartitions.JAVA_MULTI_LINE_COMMENT);
                reconciler.setRepairer(dr, IJavaPartitions.JAVA_MULTI_LINE_COMMENT);


Clone AbstractionParameter Count: 6Parameter Bindings

PresentationReconciler reconciler = new JavaPresentationReconciler();
reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));
DefaultDamagerRepairer dr = new DefaultDamagerRepairer( [[#variable603be1e0]]());
reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE);
reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE);
dr = new DefaultDamagerRepairer( [[#variableb67f94c0]]());
reconciler.setDamager(dr,  [[#variable59614d80]]. [[#variable961889c0]]);
reconciler.setRepairer(dr,  [[#variable59614d80]]. [[#variable961889c0]]);
dr = new DefaultDamagerRepairer( [[#variable59614180]]());
reconciler.setDamager(dr,  [[#variable59614d80]]. [[#variableba7e5880]]);
reconciler.setRepairer(dr,  [[#variable59614d80]]. [[#variableba7e5880]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#603be1e0]]
getCodeScanner 
12[[#603be1e0]]
getPropertyKeyScanner 
21[[#b67f94c0]]
getJavaDocScanner 
22[[#b67f94c0]]
getCommentScanner 
31[[#59614d80]]
IJavaPartitions 
32[[#59614d80]]
IPropertiesFilePartitions 
41[[#961889c0]]
JAVA_DOC 
42[[#961889c0]]
COMMENT 
51[[#59614180]]
getMultilineCommentScanner 
52[[#59614180]]
getPropertyValueScanner 
61[[#ba7e5880]]
JAVA_MULTI_LINE_COMMENT 
62[[#ba7e5880]]
PROPERTY_VALUE