CloneSet3816


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16230.977class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116768
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
2161167
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
Clone Instance
1
Line Count
16
Source Line
768
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

        /**
         * Computes and returns the unresolved source lookup path for the given launch
         * configuration.
         * 
         * @param configuration launch configuration
         * @return runtime classpath entries
         * @exception CoreException if unable to compute the source lookup path
         * @since 2.0
         */
        public static IRuntimeClasspathEntry[] computeUnresolvedSourceLookupPath(ILaunchConfiguration configuration) throws CoreException {
                return getSourceLookupPathProvider(configuration).computeUnresolvedClasspath(configuration);
        }

        /**
         * Resolves the given source lookup path, returning the resolved source lookup path
         * in the context of the given launch configuration.
         * 
         * @param entries unresolved entries
         * @param configuration launch configuration
         * @return resolved entries
         * @exception CoreException if unable to resolve the source lookup path
         * @since 2.0
         */
        public static IRuntimeClasspathEntry[] resolveSourceLookupPath(IRuntimeClasspathEntry[] entries, ILaunchConfiguration configuration) throws CoreException {
                return getSourceLookupPathProvider(configuration).resolveClasspath(entries, configuration);
        }


Clone Instance
2
Line Count
16
Source Line
1167
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

        /**
         * Computes and returns the unresolved class path for the given launch configuration.
         * Variable and container entries are unresolved.
         * 
         * @param configuration launch configuration
         * @return unresolved runtime classpath entries
         * @exception CoreException if unable to compute the classpath
         * @since 2.0
         */
        public static IRuntimeClasspathEntry[] computeUnresolvedRuntimeClasspath(ILaunchConfiguration configuration) throws CoreException {
                return getClasspathProvider(configuration).computeUnresolvedClasspath(configuration);
        }

        /**
         * Resolves the given classpath, returning the resolved classpath
         * in the context of the given launch configuration.
         *
         * @param entries unresolved classpath
         * @param configuration launch configuration
         * @return resolved runtime classpath entries
         * @exception CoreException if unable to compute the classpath
         * @since 2.0
         */
        public static IRuntimeClasspathEntry[] resolveRuntimeClasspath(IRuntimeClasspathEntry[] entries, ILaunchConfiguration configuration) throws CoreException {
                return getClasspathProvider(configuration).resolveClasspath(entries, configuration);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Computes and returns the unresolved class path for the given launch configuration.
         * Variable and container entries are unresolved.
         * 
         * @param configuration launch configuration
         * @return unresolved runtime classpath entries
         * @exception CoreException if unable to compute the classpath
         * @since 2.0
         */
/**
         * Computes and returns the unresolved source lookup path for the given launch
         * configuration.
         * 
         * @param configuration launch configuration
         * @return runtime classpath entries
         * @exception CoreException if unable to compute the source lookup path
         * @since 2.0
         */
public static IRuntimeClasspathEntry[]  [[#variablea0f1e220]](ILaunchConfiguration configuration) throws CoreException {
  return [[#variablea0f60e00]](configuration).computeUnresolvedClasspath(configuration);
}

/**
         * Resolves the given classpath, returning the resolved classpath
         * in the context of the given launch configuration.
         *
         * @param entries unresolved classpath
         * @param configuration launch configuration
         * @return resolved runtime classpath entries
         * @exception CoreException if unable to compute the classpath
         * @since 2.0
         */
/**
         * Resolves the given source lookup path, returning the resolved source lookup path
         * in the context of the given launch configuration.
         * 
         * @param entries unresolved entries
         * @param configuration launch configuration
         * @return resolved entries
         * @exception CoreException if unable to resolve the source lookup path
         * @since 2.0
         */
public static IRuntimeClasspathEntry[]  [[#variablea42f8f40]](IRuntimeClasspathEntry[] entries, ILaunchConfiguration configuration) throws CoreException {
  return [[#variablea0f60e00]](configuration).resolveClasspath(entries, configuration);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0f1e220]]
computeUnresolvedRuntimeClasspath 
12[[#a0f1e220]]
computeUnresolvedSourceLookupPath 
21[[#a0f60e00]]
getClasspathProvider 
22[[#a0f60e00]]
getSourceLookupPathProvider 
31[[#a42f8f40]]
resolveRuntimeClasspath 
32[[#a42f8f40]]
resolveSourceLookupPath