Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.984 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 574 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java |
2 | 4 | 624 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java |
| ||||
/** * Sets the conjunction of search patterns to be used during search. * <p> * This method must be called before {@link RefactoringSearchEngine2#searchPattern(IProgressMonitor)} * * @param first the first search pattern to set * @param second the second search pattern to set */ public final void setAndPattern( final SearchPattern first, final SearchPattern second) { Assert.isNotNull(first); Assert.isNotNull(second); fPattern = SearchPattern.createAndPattern(first, second); } |
| ||||
/** * Sets the disjunction of search patterns to be used during search. * <p> * This method must be called before {@link RefactoringSearchEngine2#searchPattern(IProgressMonitor)} * * @param first the first search pattern to set * @param second the second search pattern to set */ public final void setOrPattern( final SearchPattern first, final SearchPattern second) { Assert.isNotNull(first); Assert.isNotNull(second); fPattern = SearchPattern.createOrPattern(first, second); } |
| |||
/** * Sets the conjunction of search patterns to be used during search. * <p> * This method must be called before {@link RefactoringSearchEngine2#searchPattern(IProgressMonitor)} * * @param first the first search pattern to set * @param second the second search pattern to set */ /** * Sets the disjunction of search patterns to be used during search. * <p> * This method must be called before {@link RefactoringSearchEngine2#searchPattern(IProgressMonitor)} * * @param first the first search pattern to set * @param second the second search pattern to set */ public final void [[#variable900d8f00]]( final SearchPattern first, final SearchPattern second) { Assert.isNotNull(first); Assert.isNotNull(second); fPattern = SearchPattern. [[#variable900d8e80]](first, second); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#900d8f00]] | setAndPattern |
1 | 2 | [[#900d8f00]] | setOrPattern |
2 | 1 | [[#900d8e80]] | createAndPattern |
2 | 2 | [[#900d8e80]] | createOrPattern |