CloneSet3276


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31201.000class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131203
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResult.java
231129
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesSearchResult.java
Clone Instance
1
Line Count
31
Source Line
203
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResult.java

        /*
         * @see org.eclipse.search.ui.ISearchResult#getLabel()
         */
        public String getLabel() {
                return fQuery.getResultLabel(getMatchCount());
        }

        /*
         * @see org.eclipse.search.ui.ISearchResult#getTooltip()
         */
        public String getTooltip() {
                return getLabel();
        }

        /*
         * @see org.eclipse.search.ui.ISearchResult#getImageDescriptor()
         */
        public ImageDescriptor getImageDescriptor() {
                return JavaPluginImages.DESC_OBJS_SEARCH_REF;
        }

        /*
         * @see org.eclipse.search.ui.ISearchResult#getQuery()
         */
        public ISearchQuery getQuery() {
                return fQuery;
        }

        public IFileMatchAdapter getFileMatchAdapter() {
                return this ;
        }

        public IEditorMatchAdapter getEditorMatchAdapter() {
                return this ;
        }


Clone Instance
2
Line Count
31
Source Line
129
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesSearchResult.java

        /*
         * @see org.eclipse.search.ui.ISearchResult#getLabel()
         */
        public String getLabel() {
                return fQuery.getResultLabel(getMatchCount());
        }

        /*
         * @see org.eclipse.search.ui.ISearchResult#getTooltip()
         */
        public String getTooltip() {
                return getLabel();
        }

        /*
         * @see org.eclipse.search.ui.ISearchResult#getImageDescriptor()
         */
        public ImageDescriptor getImageDescriptor() {
                return JavaPluginImages.DESC_OBJS_SEARCH_REF;
        }

        /*
         * @see org.eclipse.search.ui.ISearchResult#getQuery()
         */
        public ISearchQuery getQuery() {
                return fQuery;
        }

        public IFileMatchAdapter getFileMatchAdapter() {
                return this ;
        }

        public IEditorMatchAdapter getEditorMatchAdapter() {
                return this ;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/*
         * @see org.eclipse.search.ui.ISearchResult#getLabel()
         */
public String getLabel() {
  return fQuery.getResultLabel(getMatchCount());
}

/*
         * @see org.eclipse.search.ui.ISearchResult#getTooltip()
         */
public String getTooltip() {
  return getLabel();
}

/*
         * @see org.eclipse.search.ui.ISearchResult#getImageDescriptor()
         */
public ImageDescriptor getImageDescriptor() {
  return JavaPluginImages.DESC_OBJS_SEARCH_REF;
}

/*
         * @see org.eclipse.search.ui.ISearchResult#getQuery()
         */
public ISearchQuery getQuery() {
  return fQuery;
}

public IFileMatchAdapter getFileMatchAdapter() {
  return this ;
}

public IEditorMatchAdapter getEditorMatchAdapter() {
  return this ;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None