CloneSet1492


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8460.953statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18101
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/DeclarationsSearchGroup.java
2894
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImplementorsSearchGroup.java
3899
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReadReferencesSearchGroup.java
4899
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/WriteReferencesSearchGroup.java
Clone Instance
1
Line Count
8
Source Line
101
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/DeclarationsSearchGroup.java

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

                fFindDeclarationsAction = new FindDeclarationsAction(fEditor);
                fFindDeclarationsAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_DECLARATIONS_IN_WORKSPACE);
                fEditor.setAction("SearchDeclarationsInWorkspace", fFindDeclarationsAction); //$NON-NLS-1$

                fFindDeclarationsInProjectAction = new FindDeclarationsInProjectAction(fEditor);


Clone Instance
2
Line Count
8
Source Line
94
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ImplementorsSearchGroup.java

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

                fFindImplementorsAction = new FindImplementorsAction(fEditor);
                fFindImplementorsAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_IMPLEMENTORS_IN_WORKSPACE);
                fEditor.setAction("SearchImplementorsInWorkspace", fFindImplementorsAction); //$NON-NLS-1$

                fFindImplementorsInProjectAction = new FindImplementorsInProjectAction(fEditor);


Clone Instance
3
Line Count
8
Source Line
99
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReadReferencesSearchGroup.java

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

                fFindReadReferencesAction = new FindReadReferencesAction(fEditor);
                fFindReadReferencesAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_WRITE_ACCESS_IN_WORKSPACE);
                fEditor.setAction("SearchReadAccessInWorkspace", fFindReadReferencesAction); //$NON-NLS-1$

                fFindReadReferencesInProjectAction = new FindReadReferencesInProjectAction(fEditor);


Clone Instance
4
Line Count
8
Source Line
99
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/WriteReferencesSearchGroup.java

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

                fFindWriteReferencesAction = new FindWriteReferencesAction(fEditor);
                fFindWriteReferencesAction.setActionDefinitionId(IJavaEditorActionDefinitionIds.SEARCH_WRITE_ACCESS_IN_WORKSPACE);
                fEditor.setAction("SearchWriteAccessInWorkspace", fFindWriteReferencesAction); //$NON-NLS-1$

                fFindWriteReferencesInProjectAction = new FindWriteReferencesInProjectAction(fEditor);


Clone AbstractionParameter Count: 6Parameter Bindings

fSite = fEditor.getSite();
fGroupId = ITextEditorActionConstants.GROUP_FIND;
 [[#variablec11993c0]]= new [[#variablec1199380]](fEditor);
 [[#variablec11993c0]].setActionDefinitionId(IJavaEditorActionDefinitionIds. [[#variablec1199200]]);
fEditor.setAction( [[#variablec1199240]],  [[#variablec11993c0]]); //$NON-NLS-1$
 [[#variablec1198640]]= new [[#variablec1199280]](fEditor);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c11993c0]]
fFindDeclarationsAction 
12[[#c11993c0]]
fFindImplementorsAction 
13[[#c11993c0]]
fFindReadReferencesAction 
14[[#c11993c0]]
fFindWriteReferencesAction 
21[[#c1199380]]
FindDeclarationsAction 
22[[#c1199380]]
FindImplementorsAction 
23[[#c1199380]]
FindReadReferencesAction 
24[[#c1199380]]
FindWriteReferencesAction 
31[[#c1199200]]
SEARCH_DECLARATIONS_IN_WORKSPACE 
32[[#c1199200]]
SEARCH_IMPLEMENTORS_IN_WORKSPACE 
33[[#c1199200]]
SEARCH_WRITE_ACCESS_IN_WORKSPACE 
34[[#c1199200]]
SEARCH_WRITE_ACCESS_IN_WORKSPACE 
41[[#c1199240]]
"SearchDeclarationsInWorkspace" 
42[[#c1199240]]
"SearchImplementorsInWorkspace" 
43[[#c1199240]]
"SearchReadAccessInWorkspace" 
44[[#c1199240]]
"SearchWriteAccessInWorkspace" 
51[[#c1198640]]
fFindDeclarationsInProjectAction 
52[[#c1198640]]
fFindImplementorsInProjectAction 
53[[#c1198640]]
fFindReadReferencesInProjectAction 
54[[#c1198640]]
fFindWriteReferencesInProjectAction 
61[[#c1199280]]
FindDeclarationsInProjectAction 
62[[#c1199280]]
FindImplementorsInProjectAction 
63[[#c1199280]]
FindReadReferencesInProjectAction 
64[[#c1199280]]
FindWriteReferencesInProjectAction