CloneSet9409


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.973class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14750
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java
24766
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java
Clone Instance
1
Line Count
4
Source Line
750
Source File
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);
        }


Clone Instance
2
Line Count
4
Source Line
766
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java

        /**
         * 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);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b73e5ae0]]
isAllowTerminate 
12[[#b73e5ae0]]
isStopInMain 
21[[#b73e5a80]]
ATTR_ALLOW_TERMINATE 
22[[#b73e5a80]]
ATTR_STOP_IN_MAIN