CloneSet3068


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.952statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110473
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java
210222
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java
Clone Instance
1
Line Count
10
Source Line
473
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java

                        if (modifierString.startsWith(JavaEditorTextHoverDescriptor.DISABLED_TAG)) {
                                enabled = false;
                                modifierString = modifierString.substring(1);
                        }

                        if (modifierString.equals(JavaEditorTextHoverDescriptor.NO_MODIFIER))
                                modifierString = ""; //$NON-NLS-1$

                        fHoverConfigs[i].fModifierString = modifierString;
                        fHoverConfigs[i].fIsEnabled = enabled;


Clone Instance
2
Line Count
10
Source Line
222
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java

                        if (modifierString.startsWith(DISABLED_TAG)) {
                                enabled = false;
                                modifierString = modifierString.substring(1);
                        }

                        if (modifierString.equals(NO_MODIFIER))
                                modifierString = ""; //$NON-NLS-1$

                        hovers[i].fModifierString = modifierString;
                        hovers[i].fIsEnabled = enabled;


Clone AbstractionParameter Count: 3Parameter Bindings

if (modifierString.startsWith( [[#variable9c0c40a0]])) {
  enabled = false;
  modifierString = modifierString.substring(1);
}
if (modifierString.equals( [[#variable9c0c4180]]))
  modifierString = ""; //$NON-NLS-1$
 [[#variable9c0c4020]][i].fModifierString = modifierString;
 [[#variable9c0c4020]][i].fIsEnabled = enabled;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c0c40a0]]
JavaEditorTextHoverDescriptor.DISABLED_TAG 
12[[#9c0c40a0]]
DISABLED_TAG 
21[[#9c0c4180]]
JavaEditorTextHoverDescriptor.NO_MODIFIER 
22[[#9c0c4180]]
NO_MODIFIER 
31[[#9c0c4020]]
fHoverConfigs 
32[[#9c0c4020]]
hovers