CloneSet1987


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5410.993statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15471
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
25547
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
3595
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateElementInCUOperation.java
4581
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeleteElementsOperation.java
Clone Instance
1
Line Count
5
Source Line
471
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java

                                                TextEdit edits = rewrite.rewriteAST(document, null);
                                                try {
                                                        edits.apply(document);
                                                } catch (BadLocationException e) {
                                                        throw new JavaModelException(e, IJavaModelStatusConstants.INVALID_CONTENTS);
                                                  }


Clone Instance
2
Line Count
5
Source Line
547
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java

                TextEdit edits = rewrite.rewriteAST(document, null);
                try {
                        edits.apply(document);
                } catch (BadLocationException e) {
                        throw new JavaModelException(e, IJavaModelStatusConstants.INVALID_CONTENTS);
                  }


Clone Instance
3
Line Count
5
Source Line
95
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateElementInCUOperation.java

                TextEdit edits = rewriter.rewriteAST(document, null);
                try {
                        edits.apply(document);
                } catch (BadLocationException e) {
                        throw new JavaModelException(e, IJavaModelStatusConstants.INVALID_CONTENTS);
                  }


Clone Instance
4
Line Count
5
Source Line
81
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeleteElementsOperation.java

                TextEdit edits = rewriter.rewriteAST(document, null);
                try {
                        edits.apply(document);
                } catch (BadLocationException e) {
                        throw new JavaModelException(e, IJavaModelStatusConstants.INVALID_CONTENTS);
                  }


Clone AbstractionParameter Count: 1Parameter Bindings

TextEdit edits = [[#variable774c0460]].rewriteAST(document, null);
try {
  edits.apply(document);
}
catch (BadLocationException e) {
  throw new JavaModelException(e, IJavaModelStatusConstants.INVALID_CONTENTS);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#774c0460]]
rewrite 
12[[#774c0460]]
rewriter 
13[[#774c0460]]
rewriter 
14[[#774c0460]]
rewrite