CloneSet7229


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.951statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1595
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java
25101
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReferencesSearchGroup.java
Clone Instance
1
Line Count
5
Source Line
95
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OccurrencesSearchGroup.java

                fSite = fEditor.getSite();
                fGroupId = ITextEditorActionConstants.GROUP_FIND;

                fOccurrencesInFileAction = new FindOccurrencesInFileAction(fEditor);
                fOccurrencesInFileAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_OCCURRENCES_IN_FILE);


Clone Instance
2
Line Count
5
Source Line
101
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReferencesSearchGroup.java

                fSite = fEditor.getSite();
                fGroupId = ITextEditorActionConstants.GROUP_FIND;

                fFindReferencesAction = new FindReferencesAction(editor);
                fFindReferencesAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_REFERENCES_IN_WORKSPACE);


Clone AbstractionParameter Count: 4Parameter Bindings

fSite = fEditor.getSite();
fGroupId = ITextEditorActionConstants.GROUP_FIND;
 [[#variable570069a0]]= new [[#variable57007d40]]( [[#variablea082a300]]);
 [[#variable570069a0]].setActionDefinitionId(IJavaEditorActionDefinitionIds. [[#variable57007c80]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#570069a0]]
fOccurrencesInFileAction 
12[[#570069a0]]
fFindReferencesAction 
21[[#57007d40]]
FindOccurrencesInFileAction 
22[[#57007d40]]
FindReferencesAction 
31[[#a082a300]]
fEditor 
32[[#a082a300]]
editor 
41[[#57007c80]]
SEARCH_OCCURRENCES_IN_FILE 
42[[#57007c80]]
SEARCH_REFERENCES_IN_WORKSPACE