Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.984 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 364 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateCreator.java |
2 | 3 | 906 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java |
| ||||
IDocument document = new Document(fDelegateRewrite.getCu().getBuffer().getContents()); TextEdit edit = fDelegateRewrite.getASTRewrite().rewriteAST(document, fDelegateRewrite.getCu().getJavaProject().getOptions(true)); edit.apply(document, TextEdit.UPDATE_REGIONS); |
| ||||
IDocument document = new Document(fSource.getCu().getBuffer().getContents()); TextEdit edit = fSource.getASTRewrite().rewriteAST(document, fSource.getCu().getJavaProject().getOptions(true)); edit.apply(document, TextEdit.UPDATE_REGIONS); |
| |||
IDocument document = new Document( [[#variable56a09ba0]].getCu().getBuffer().getContents()); TextEdit edit = [[#variable56a09ba0]].getASTRewrite().rewriteAST(document, [[#variable56a09ba0]].getCu().getJavaProject().getOptions(true)); edit.apply(document, TextEdit.UPDATE_REGIONS); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56a09ba0]] | fSource |
1 | 2 | [[#56a09ba0]] | fDelegateRewrite |