Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.957 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1995 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java |
2 | 3 | 2007 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java |
| ||||
/** * Registers the given resolver for the specified variable. * * @param resolver runtime classpath entry resolver * @param variableName variable name to register for * @since 2.0 */ public static void addVariableResolver(IRuntimeClasspathEntryResolver resolver, String variableName) { Map map = getVariableResolvers(); map.put(variableName, resolver); } |
| ||||
/** * Registers the given resolver for the specified container. * * @param resolver runtime classpath entry resolver * @param containerIdentifier identifier of the classpath container to register for * @since 2.0 */ public static void addContainerResolver(IRuntimeClasspathEntryResolver resolver, String containerIdentifier) { Map map = getContainerResolvers(); map.put(containerIdentifier, resolver); } |
| |||
/** * Registers the given resolver for the specified variable. * * @param resolver runtime classpath entry resolver * @param variableName variable name to register for * @since 2.0 */ /** * Registers the given resolver for the specified container. * * @param resolver runtime classpath entry resolver * @param containerIdentifier identifier of the classpath container to register for * @since 2.0 */ public static void [[#variable4c8db820]](IRuntimeClasspathEntryResolver resolver, String [[#variable4c8db7a0]]) { Map map = [[#variable4c8db720]](); map.put( [[#variable4c8db7a0]], resolver); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4c8db820]] | addVariableResolver |
1 | 2 | [[#4c8db820]] | addContainerResolver |
2 | 1 | [[#4c8db7a0]] | variableName |
2 | 2 | [[#4c8db7a0]] | containerIdentifier |
3 | 1 | [[#4c8db720]] | getVariableResolvers |
3 | 2 | [[#4c8db720]] | getContainerResolvers |