CloneSet1620


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3720.958statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13485
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java
23672
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java
33939
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java
43392
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineTempRefactoring.java
53103
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InlineMethodRefactoringContribution.java
63136
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java
73101
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java
Clone Instance
1
Line Count
3
Source Line
485
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java

                final ASTParser parser = ASTParser.newParser(AST.JLS3);
                parser.setResolveBindings(true);
                parser.setProject(_javaProject);


Clone Instance
2
Line Count
3
Source Line
672
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java

                // Note: very expensive operation. we are re-compiling a file with binding information.
                final ASTParser parser =  ASTParser.newParser(AST.JLS3);
                parser.setResolveBindings(true);
                parser.setSource(unit);


Clone Instance
3
Line Count
3
Source Line
939
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java

                                        final ASTParser parser = ASTParser.newParser(AST.JLS3);
                                        parser.setResolveBindings(true);
                                        parser.setSource(fSelectionCu);


Clone Instance
4
Line Count
3
Source Line
392
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineTempRefactoring.java

                                final ASTParser parser = ASTParser.newParser(AST.JLS3);
                                parser.setResolveBindings(true);
                                parser.setSource(fCu);


Clone Instance
5
Line Count
3
Source Line
103
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InlineMethodRefactoringContribution.java

                                        final ASTParser parser = ASTParser.newParser(AST.JLS3);
                                        parser.setResolveBindings(true);
                                        parser.setSource(unit);


Clone Instance
6
Line Count
3
Source Line
136
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java

                        final ASTParser parser = ASTParser.newParser(AST.JLS3);
                        parser.setResolveBindings(true);
                        parser.setSource(copy);


Clone Instance
7
Line Count
3
Source Line
101
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java

                final ASTParser parser = ASTParser.newParser(AST.JLS3);
                parser.setResolveBindings(true);
                parser.setStatementsRecovery(true);


Clone AbstractionParameter Count: 2Parameter Bindings

// Note: very expensive operation. we are re-compiling a file with binding information.
final ASTParser parser = ASTParser.newParser(AST.JLS3);
parser.setResolveBindings(true);
parser. [[#variablea07d0580]]( [[#variablea07d0540]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a07d0580]]
setSource 
12[[#a07d0580]]
setSource 
13[[#a07d0580]]
setSource 
14[[#a07d0580]]
setProject 
15[[#a07d0580]]
setSource 
16[[#a07d0580]]
setStatementsRecovery 
17[[#a07d0580]]
setSource 
21[[#a07d0540]]
unit 
22[[#a07d0540]]
fSelectionCu 
23[[#a07d0540]]
fCu 
24[[#a07d0540]]
_javaProject 
25[[#a07d0540]]
copy 
26[[#a07d0540]]
true 
27[[#a07d0540]]
unit