Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 3 | 0.977 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 768 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java |
2 | 16 | 1167 | 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); } |
| ||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0f1e220]] | computeUnresolvedRuntimeClasspath |
1 | 2 | [[#a0f1e220]] | computeUnresolvedSourceLookupPath |
2 | 1 | [[#a0f60e00]] | getClasspathProvider |
2 | 2 | [[#a0f60e00]] | getSourceLookupPathProvider |
3 | 1 | [[#a42f8f40]] | resolveRuntimeClasspath |
3 | 2 | [[#a42f8f40]] | resolveSourceLookupPath |