CloneSet1491


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4460.959statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
141168
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
241174
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
341180
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
441193
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
Clone Instance
1
Line Count
4
Source Line
1168
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java

                action = new TextOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), "ContentAssistContextInformation.", this, ISourceViewer.CONTENTASSIST_CONTEXT_INFORMATION);  //$NON-NLS-1$
                action.setActionDefinitionId(ITextEditorActionDefinitionIds.CONTENT_ASSIST_CONTEXT_INFORMATION);
                setAction("ContentAssistContextInformation", action); //$NON-NLS-1$
                markAsStateDependentAction("ContentAssistContextInformation", true); //$NON-NLS-1$


Clone Instance
2
Line Count
4
Source Line
1174
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java

                action = new TextOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), "Comment.", this, ITextOperationTarget.PREFIX); //$NON-NLS-1$
                action.setActionDefinitionId(IJavaEditorActionDefinitionIds.COMMENT);
                setAction("Comment", action); //$NON-NLS-1$
                markAsStateDependentAction("Comment", true); //$NON-NLS-1$


Clone Instance
3
Line Count
4
Source Line
1180
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java

                action = new TextOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), "Uncomment.", this, ITextOperationTarget.STRIP_PREFIX); //$NON-NLS-1$
                action.setActionDefinitionId(IJavaEditorActionDefinitionIds.UNCOMMENT);
                setAction("Uncomment", action); //$NON-NLS-1$
                markAsStateDependentAction("Uncomment", true); //$NON-NLS-1$


Clone Instance
4
Line Count
4
Source Line
1193
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java

                action = new TextOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), "Format.", this, ISourceViewer.FORMAT); //$NON-NLS-1$
                action.setActionDefinitionId(IJavaEditorActionDefinitionIds.FORMAT);
                setAction("Format", action); //$NON-NLS-1$
                markAsStateDependentAction("Format", true); //$NON-NLS-1$


Clone AbstractionParameter Count: 6Parameter Bindings

action = new TextOperationAction(JavaEditorMessages.getBundleForConstructedKeys(),  [[#variable98fa30c0]], this,  [[#variable98fa3000]]. [[#variable98fa2fc0]]); //$NON-NLS-1$
action.setActionDefinitionId( [[#variable98fa2f40]]. [[#variable97f7a3c0]]);
setAction( [[#variable98fa2f80]], action); //$NON-NLS-1$
markAsStateDependentAction( [[#variable98fa2f80]], true); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98fa30c0]]
"Format." 
12[[#98fa30c0]]
"Uncomment." 
13[[#98fa30c0]]
"Comment." 
14[[#98fa30c0]]
"ContentAssistContextInformation." 
21[[#98fa3000]]
ISourceViewer 
22[[#98fa3000]]
ITextOperationTarget 
23[[#98fa3000]]
ITextOperationTarget 
24[[#98fa3000]]
ISourceViewer 
31[[#98fa2fc0]]
FORMAT 
32[[#98fa2fc0]]
STRIP_PREFIX 
33[[#98fa2fc0]]
PREFIX 
34[[#98fa2fc0]]
CONTENTASSIST_CONTEXT_INFORMATION 
41[[#98fa2f40]]
IJavaEditorActionDefinitionIds 
42[[#98fa2f40]]
IJavaEditorActionDefinitionIds 
43[[#98fa2f40]]
IJavaEditorActionDefinitionIds 
44[[#98fa2f40]]
ITextEditorActionDefinitionIds 
51[[#97f7a3c0]]
FORMAT 
52[[#97f7a3c0]]
UNCOMMENT 
53[[#97f7a3c0]]
COMMENT 
54[[#97f7a3c0]]
CONTENT_ASSIST_CONTEXT_INFORMATION 
61[[#98fa2f80]]
"Format" 
62[[#98fa2f80]]
"Uncomment" 
63[[#98fa2f80]]
"Comment" 
64[[#98fa2f80]]
"ContentAssistContextInformation"