| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 2 | 0.973 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 750 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java |
| 2 | 4 | 766 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java |
| ||||
/**
* Returns whether the given launch configuration specifies that termination
* is allowed.
*
* @param configuration
* launch configuration
* @return whether termination is allowed
* @exception CoreException
* if unable to retrieve the attribute
*/
public boolean isAllowTerminate(ILaunchConfiguration configuration) throws
CoreException {
return configuration.getAttribute(
IJavaLaunchConfigurationConstants.ATTR_ALLOW_TERMINATE, false);
}
|
| ||||
/**
* Returns whether the given launch configuration specifies that execution
* should suspend on entry of the main method.
*
* @param configuration
* launch configuration
* @return whether execution should suspend in main
* @exception CoreException
* if unable to retrieve the attribute
* @since 2.1
*/
public boolean isStopInMain(ILaunchConfiguration configuration) throws
CoreException {
return configuration.getAttribute(
IJavaLaunchConfigurationConstants.ATTR_STOP_IN_MAIN, false);
}
|
| |||
/**
* Returns whether the given launch configuration specifies that termination
* is allowed.
*
* @param configuration
* launch configuration
* @return whether termination is allowed
* @exception CoreException
* if unable to retrieve the attribute
*/
/**
* Returns whether the given launch configuration specifies that execution
* should suspend on entry of the main method.
*
* @param configuration
* launch configuration
* @return whether execution should suspend in main
* @exception CoreException
* if unable to retrieve the attribute
* @since 2.1
*/
public boolean [[#variableb73e5ae0]](ILaunchConfiguration configuration) throws CoreException {
return configuration.getAttribute(IJavaLaunchConfigurationConstants. [[#variableb73e5a80]], false);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b73e5ae0]] | isAllowTerminate |
| 1 | 2 | [[#b73e5ae0]] | isStopInMain |
| 2 | 1 | [[#b73e5a80]] | ATTR_ALLOW_TERMINATE |
| 2 | 2 | [[#b73e5a80]] | ATTR_STOP_IN_MAIN |