CloneSet328


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1156
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/Util.java
21111
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/NodeFinder.java
31340
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CodeTemplateContextType.java
4150
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSScanner.java
5198
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/SourceRangeComputer.java
61155
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/SourceRangeComputer.java
7139
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java
8194
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java
9173
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/SelectionAwareSourceRangeComputer.java
101217
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultRequestor.java
111247
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
12148
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaTokenComparator.java
131222
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/selectionactions/GoToNextPreviousMemberAction.java
141238
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/BreakContinueTargetFinder.java
151236
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentFormattingStrategy.java
16170
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TaskMarkerProposal.java
1711254
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
181315
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ClassPathDetector.java
191307
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java
2011009
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
2111064
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
2212347
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
Clone Instance
1
Line Count
1
Source Line
56
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/fragments/Util.java

                        IScanner scanner = ToolFactory.createScanner(false, false, false, null);


Clone Instance
2
Line Count
1
Source Line
111
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/NodeFinder.java

                                IScanner scanner = ToolFactory.createScanner(false, false, false, false);


Clone Instance
3
Line Count
1
Source Line
340
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CodeTemplateContextType.java

                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
4
Line Count
1
Source Line
50
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSScanner.java

                IScanner scanner = ToolFactory.createScanner(true, true, false, true);


Clone Instance
5
Line Count
1
Source Line
98
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/SourceRangeComputer.java

                        IScanner scanner = ToolFactory.createScanner(true, true, false, true);


Clone Instance
6
Line Count
1
Source Line
155
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/SourceRangeComputer.java

                        IScanner scanner = ToolFactory.createScanner(true, true, false, true);


Clone Instance
7
Line Count
1
Source Line
39
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java

                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
8
Line Count
1
Source Line
94
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java

                IScanner scanner = ToolFactory.createScanner(false, false, false, false);


Clone Instance
9
Line Count
1
Source Line
73
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/SelectionAwareSourceRangeComputer.java

                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
10
Line Count
1
Source Line
217
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultRequestor.java

                IScanner scanner = ToolFactory.createScanner(false, false, false, false);


Clone Instance
11
Line Count
1
Source Line
247
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java

                        // to avoid the trouble when dealing with Unicode
                        // we use the Java scanner to extract non-whitespace and non-comment tokens
                        IScanner scanner = ToolFactory.createScanner(true, true, false, false); // however we request Whitespace and Comments


Clone Instance
12
Line Count
1
Source Line
48
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaTokenComparator.java

                IScanner scanner = ToolFactory.createScanner(true, true, false, false); // returns comments & whitespace


Clone Instance
13
Line Count
1
Source Line
222
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/selectionactions/GoToNextPreviousMemberAction.java

                        IScanner scanner = ToolFactory.createScanner(false, false, false, false);


Clone Instance
14
Line Count
1
Source Line
238
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/BreakContinueTargetFinder.java

                IScanner scanner = ToolFactory.createScanner(true, true, false, true);


Clone Instance
15
Line Count
1
Source Line
236
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentFormattingStrategy.java

                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
16
Line Count
1
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TaskMarkerProposal.java

                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
17
Line Count
1
Source Line
1254
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

                        IScanner scanner = ToolFactory.createScanner(false, false, false, false);


Clone Instance
18
Line Count
1
Source Line
315
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/ClassPathDetector.java

                IScanner scanner = ToolFactory.createScanner(false, false, false, false);


Clone Instance
19
Line Count
1
Source Line
307
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java

                                                // Do not add final fields which have been set in the <clinit>
                                                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
20
Line Count
1
Source Line
1009
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java

                                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
21
Line Count
1
Source Line
1064
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java

                /* code adapted from CommentFormattingStrategy:
                 * scan the header content up to the first type. Once a comment is
                 * found, accumulate any additional comments up to the stop condition.
                 * The stop condition is reaching a package declaration, import container,
                 * or the end of the input.
                 */
                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone Instance
22
Line Count
1
Source Line
2347
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java

                IScanner scanner = ToolFactory.createScanner(true, false, false, false);


Clone AbstractionParameter Count: 3Parameter Bindings

// Do not add final fields which have been set in the <clinit>
// to avoid the trouble when dealing with Unicode
// we use the Java scanner to extract non-whitespace and non-comment tokens
/* code adapted from CommentFormattingStrategy:
                 * scan the header content up to the first type. Once a comment is
                 * found, accumulate any additional comments up to the stop condition.
                 * The stop condition is reaching a package declaration, import container,
                 * or the end of the input.
                 */
IScanner scanner = ToolFactory.createScanner( [[#variablec1f73920]],  [[#variablec1f738a0]], false,  [[#variablec1f73820]]); // however we request Whitespace and Comments // returns comments & whitespace
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c1f73920]]
true 
12[[#c1f73920]]
false 
13[[#c1f73920]]
true 
14[[#c1f73920]]
true 
15[[#c1f73920]]
false 
16[[#c1f73920]]
true 
17[[#c1f73920]]
false 
18[[#c1f73920]]
true 
19[[#c1f73920]]
true 
110[[#c1f73920]]
true 
111[[#c1f73920]]
true 
112[[#c1f73920]]
false 
113[[#c1f73920]]
true 
114[[#c1f73920]]
true 
115[[#c1f73920]]
true 
116[[#c1f73920]]
false 
117[[#c1f73920]]
false 
118[[#c1f73920]]
true 
119[[#c1f73920]]
true 
120[[#c1f73920]]
true 
121[[#c1f73920]]
true 
122[[#c1f73920]]
false 
21[[#c1f738a0]]
false 
22[[#c1f738a0]]
false 
23[[#c1f738a0]]
true 
24[[#c1f738a0]]
true 
25[[#c1f738a0]]
false 
26[[#c1f738a0]]
true 
27[[#c1f738a0]]
false 
28[[#c1f738a0]]
false 
29[[#c1f738a0]]
false 
210[[#c1f738a0]]
false 
211[[#c1f738a0]]
false 
212[[#c1f738a0]]
false 
213[[#c1f738a0]]
false 
214[[#c1f738a0]]
false 
215[[#c1f738a0]]
false 
216[[#c1f738a0]]
false 
217[[#c1f738a0]]
false 
218[[#c1f738a0]]
true 
219[[#c1f738a0]]
true 
220[[#c1f738a0]]
true 
221[[#c1f738a0]]
false 
222[[#c1f738a0]]
false 
31[[#c1f73820]]
false 
32[[#c1f73820]]
false 
33[[#c1f73820]]
true 
34[[#c1f73820]]
false 
35[[#c1f73820]]
null 
36[[#c1f73820]]
true 
37[[#c1f73820]]
false 
38[[#c1f73820]]
false 
39[[#c1f73820]]
false 
310[[#c1f73820]]
false 
311[[#c1f73820]]
false 
312[[#c1f73820]]
false 
313[[#c1f73820]]
false 
314[[#c1f73820]]
false 
315[[#c1f73820]]
false 
316[[#c1f73820]]
false 
317[[#c1f73820]]
false 
318[[#c1f73820]]
true 
319[[#c1f73820]]
false 
320[[#c1f73820]]
true 
321[[#c1f73820]]
false 
322[[#c1f73820]]
false