CloneSet823


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15260.986statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115195
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchQuery.java
215213
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchQuery.java
Clone Instance
1
Line Count
15
Source Line
195
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchQuery.java

                        switch (fPatternData.getLimitTo()) {
                                case IJavaSearchConstants.IMPLEMENTORS:
                                        return Messages.format(SearchMessages.JavaSearchOperation_singularImplementorsPostfix, args);
                                case IJavaSearchConstants.DECLARATIONS:
                                        return Messages.format(SearchMessages.JavaSearchOperation_singularDeclarationsPostfix, args);
                                case IJavaSearchConstants.REFERENCES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_singularReferencesPostfix, args);
                                case IJavaSearchConstants.ALL_OCCURRENCES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_singularOccurrencesPostfix, args);
                                case IJavaSearchConstants.READ_ACCESSES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_singularReadReferencesPostfix, args);
                                case IJavaSearchConstants.WRITE_ACCESSES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_singularWriteReferencesPostfix, args);
                                default:
                                        return Messages.format(SearchMessages.JavaSearchOperation_singularOccurrencesPostfix, args);
                              }


Clone Instance
2
Line Count
15
Source Line
213
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchQuery.java

                        switch (fPatternData.getLimitTo()) {
                                case IJavaSearchConstants.IMPLEMENTORS:
                                        return Messages.format(SearchMessages.JavaSearchOperation_pluralImplementorsPostfix, args);
                                case IJavaSearchConstants.DECLARATIONS:
                                        return Messages.format(SearchMessages.JavaSearchOperation_pluralDeclarationsPostfix, args);
                                case IJavaSearchConstants.REFERENCES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_pluralReferencesPostfix, args);
                                case IJavaSearchConstants.ALL_OCCURRENCES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_pluralOccurrencesPostfix, args);
                                case IJavaSearchConstants.READ_ACCESSES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_pluralReadReferencesPostfix, args);
                                case IJavaSearchConstants.WRITE_ACCESSES:
                                        return Messages.format(SearchMessages.JavaSearchOperation_pluralWriteReferencesPostfix, args);
                                default:
                                        return Messages.format(SearchMessages.JavaSearchOperation_pluralOccurrencesPostfix, args);
                              }


Clone AbstractionParameter Count: 6Parameter Bindings

switch (fPatternData.getLimitTo()) {
  case IJavaSearchConstants.IMPLEMENTORS:
    return Messages.format(SearchMessages. [[#variablebd6ee8c0]], args);
  case IJavaSearchConstants.DECLARATIONS:
    return Messages.format(SearchMessages. [[#variablebd6ee840]], args);
  case IJavaSearchConstants.REFERENCES:
    return Messages.format(SearchMessages. [[#variablebd6ee780]], args);
  case IJavaSearchConstants.ALL_OCCURRENCES:
    return Messages.format(SearchMessages. [[#variablebd6ee720]], args);
  case IJavaSearchConstants.READ_ACCESSES:
    return Messages.format(SearchMessages. [[#variablebd6ee6a0]], args);
  case IJavaSearchConstants.WRITE_ACCESSES:
    return Messages.format(SearchMessages. [[#variablebd6ee600]], args);
  default:
    return Messages.format(SearchMessages. [[#variablebd6ee720]], args);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bd6ee8c0]]
JavaSearchOperation_singularImplementorsPostfix 
12[[#bd6ee8c0]]
JavaSearchOperation_pluralImplementorsPostfix 
21[[#bd6ee840]]
JavaSearchOperation_singularDeclarationsPostfix 
22[[#bd6ee840]]
JavaSearchOperation_pluralDeclarationsPostfix 
31[[#bd6ee780]]
JavaSearchOperation_singularReferencesPostfix 
32[[#bd6ee780]]
JavaSearchOperation_pluralReferencesPostfix 
41[[#bd6ee720]]
JavaSearchOperation_singularOccurrencesPostfix 
42[[#bd6ee720]]
JavaSearchOperation_pluralOccurrencesPostfix 
51[[#bd6ee6a0]]
JavaSearchOperation_singularReadReferencesPostfix 
52[[#bd6ee6a0]]
JavaSearchOperation_pluralReadReferencesPostfix 
61[[#bd6ee600]]
JavaSearchOperation_singularWriteReferencesPostfix 
62[[#bd6ee600]]
JavaSearchOperation_pluralWriteReferencesPostfix