CloneSet4775


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.959statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14284
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java
242153
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
Clone Instance
1
Line Count
4
Source Line
284
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java

                                ASTParser parser = ASTParser.newParser(AST.JLS3);
                                parser.setProject(fJavaProject);
                                parser.setSource(fText.toCharArray());
                                CompilationUnit unit = (CompilationUnit) parser.createAST(null);


Clone Instance
2
Line Count
4
Source Line
2153
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java

                        ASTParser parser = ASTParser.newParser(AST.JLS3);
                        parser.setProject(cu.getJavaProject());
                        parser.setSource(content.toCharArray());
                        CompilationUnit unit = (CompilationUnit) parser.createAST(null);


Clone AbstractionParameter Count: 2Parameter Bindings

ASTParser parser = ASTParser.newParser(AST.JLS3);
parser.setProject( [[#variable9d46e540]]);
parser.setSource( [[#variable9d46e520]].toCharArray());
CompilationUnit unit = (CompilationUnit) parser.createAST(null);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d46e540]]
fJavaProject 
12[[#9d46e540]]
cu.getJavaProject() 
21[[#9d46e520]]
fText 
22[[#9d46e520]]
content