| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 4 | 0.968 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 13 | 353 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDebugOptionsManager.java |
| 2 | 6 | 1103 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
| ||||
/**
* Returns whether suspend on compilation errors is
* enabled.
*
* @return whether suspend on compilation errors is
* enabled
*/
protected boolean isSuspendOnCompilationErrors() {
return JDIDebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IJDIPreferencesConstants.PREF_SUSPEND_ON_COMPILATION_ERRORS);
}
/**
* Returns whether suspend on uncaught exception is
* enabled
*
* @return whether suspend on uncaught exception is
* enabled
*/
protected boolean isSuspendOnUncaughtExceptions() {
return JDIDebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IJDIPreferencesConstants.PREF_SUSPEND_ON_UNCAUGHT_EXCEPTIONS);
}
|
| ||||
protected boolean isShowHexValues() {
return JDIDebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IJDIPreferencesConstants.PREF_SHOW_HEX);
}
protected boolean isShowCharValues() {
return JDIDebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IJDIPreferencesConstants.PREF_SHOW_CHAR);
}
|
| |||
/**
* Returns whether suspend on compilation errors is
* enabled.
*
* @return whether suspend on compilation errors is
* enabled
*/
protected boolean [[#variable8fd02ee0]]() {
return JDIDebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IJDIPreferencesConstants. [[#variable8fd39de0]]);
}
/**
* Returns whether suspend on uncaught exception is
* enabled
*
* @return whether suspend on uncaught exception is
* enabled
*/
protected boolean [[#variable8fd02e00]]() {
return JDIDebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IJDIPreferencesConstants. [[#variable8fd39d40]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#8fd02ee0]] | isShowHexValues |
| 1 | 2 | [[#8fd02ee0]] | isSuspendOnCompilationErrors |
| 2 | 1 | [[#8fd39de0]] | PREF_SHOW_HEX |
| 2 | 2 | [[#8fd39de0]] | PREF_SUSPEND_ON_COMPILATION_ERRORS |
| 3 | 1 | [[#8fd02e00]] | isShowCharValues |
| 3 | 2 | [[#8fd02e00]] | isSuspendOnUncaughtExceptions |
| 4 | 1 | [[#8fd39d40]] | PREF_SHOW_CHAR |
| 4 | 2 | [[#8fd39d40]] | PREF_SUSPEND_ON_UNCAUGHT_EXCEPTIONS |