CloneSet5825


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.984class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14574
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java
24624
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java
Clone Instance
1
Line Count
4
Source Line
574
Source File
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);
        }


Clone Instance
2
Line Count
4
Source Line
624
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine2.java

        /**
         * 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);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#900d8f00]]
setAndPattern 
12[[#900d8f00]]
setOrPattern 
21[[#900d8e80]]
createAndPattern 
22[[#900d8e80]]
createOrPattern