CloneSet2157


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6330.983class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161138
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
261154
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
361170
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
Clone Instance
1
Line Count
6
Source Line
1138
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

        /**
         * Searches for all declarations of the fields accessed in the given element.
         * The element can be a compilation unit, a source type, or a source method.
         * Reports the field declarations using the given requestor.
         *
         * @see SearchEngine#searchDeclarationsOfAccessedFields(IJavaElement, SearchRequestor, IProgressMonitor)
         *      for detailed comment
         */
        public void searchDeclarationsOfAccessedFields(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor) throws JavaModelException {
                if (VERBOSE) {
                        Util.verbose("BasicSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement, SearchRequestor, SearchPattern, IProgressMonitor)"); //$NON-NLS-1$
                }
                SearchPattern pattern = new DeclarationOfAccessedFieldsPattern(enclosingElement);
                searchDeclarations(enclosingElement, requestor, pattern, monitor);
        }


Clone Instance
2
Line Count
6
Source Line
1154
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

        /**
         * Searches for all declarations of the types referenced in the given element.
         * The element can be a compilation unit, a source type, or a source method.
         * Reports the type declarations using the given requestor.
         * 
         * @see SearchEngine#searchDeclarationsOfReferencedTypes(IJavaElement, SearchRequestor, IProgressMonitor)
         *      for detailed comment
         */
        public void searchDeclarationsOfReferencedTypes(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor) throws JavaModelException {
                if (VERBOSE) {
                        Util.verbose("BasicSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement, SearchRequestor, SearchPattern, IProgressMonitor)"); //$NON-NLS-1$
                }
                SearchPattern pattern = new DeclarationOfReferencedTypesPattern(enclosingElement);
                searchDeclarations(enclosingElement, requestor, pattern, monitor);
        }


Clone Instance
3
Line Count
6
Source Line
1170
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

        /**
         * Searches for all declarations of the methods invoked in the given element.
         * The element can be a compilation unit, a source type, or a source method.
         * Reports the method declarations using the given requestor.
         * 
         * @see SearchEngine#searchDeclarationsOfSentMessages(IJavaElement, SearchRequestor, IProgressMonitor)
         *      for detailed comment
         */
        public void searchDeclarationsOfSentMessages(IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor) throws JavaModelException {
                if (VERBOSE) {
                        Util.verbose("BasicSearchEngine.searchDeclarationsOfSentMessages(IJavaElement, SearchRequestor, SearchPattern, IProgressMonitor)"); //$NON-NLS-1$
                }
                SearchPattern pattern = new DeclarationOfReferencedMethodsPattern(enclosingElement);
                searchDeclarations(enclosingElement, requestor, pattern, monitor);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Searches for all declarations of the fields accessed in the given element.
         * The element can be a compilation unit, a source type, or a source method.
         * Reports the field declarations using the given requestor.
         *
         * @see SearchEngine#searchDeclarationsOfAccessedFields(IJavaElement, SearchRequestor, IProgressMonitor)
         *      for detailed comment
         */
/**
         * Searches for all declarations of the types referenced in the given element.
         * The element can be a compilation unit, a source type, or a source method.
         * Reports the type declarations using the given requestor.
         * 
         * @see SearchEngine#searchDeclarationsOfReferencedTypes(IJavaElement, SearchRequestor, IProgressMonitor)
         *      for detailed comment
         */
/**
         * Searches for all declarations of the methods invoked in the given element.
         * The element can be a compilation unit, a source type, or a source method.
         * Reports the method declarations using the given requestor.
         * 
         * @see SearchEngine#searchDeclarationsOfSentMessages(IJavaElement, SearchRequestor, IProgressMonitor)
         *      for detailed comment
         */
public void [[#variable624f93c0]](IJavaElement enclosingElement, SearchRequestor requestor, IProgressMonitor monitor) throws JavaModelException {
  if (VERBOSE) {
    Util.verbose( [[#variable624f9320]]); //$NON-NLS-1$
  }
  SearchPattern pattern = new [[#variable624f9280]](enclosingElement);
  searchDeclarations(enclosingElement, requestor, pattern, monitor);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#624f93c0]]
searchDeclarationsOfAccessedFields 
12[[#624f93c0]]
searchDeclarationsOfReferencedTypes 
13[[#624f93c0]]
searchDeclarationsOfSentMessages 
21[[#624f9320]]
"BasicSearchEngine.searchDeclarationsOfAccessedFields(IJavaElement, SearchRequestor, SearchPattern, IProgressMonitor)" 
22[[#624f9320]]
"BasicSearchEngine.searchDeclarationsOfReferencedTypes(IJavaElement, SearchRequestor, SearchPattern, IProgressMonitor)" 
23[[#624f9320]]
"BasicSearchEngine.searchDeclarationsOfSentMessages(IJavaElement, SearchRequestor, SearchPattern, IProgressMonitor)" 
31[[#624f9280]]
DeclarationOfAccessedFieldsPattern 
32[[#624f9280]]
DeclarationOfReferencedTypesPattern 
33[[#624f9280]]
DeclarationOfReferencedMethodsPattern