CloneSet7827


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


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

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


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4c8db820]]
addVariableResolver 
12[[#4c8db820]]
addContainerResolver 
21[[#4c8db7a0]]
variableName 
22[[#4c8db7a0]]
containerIdentifier 
31[[#4c8db720]]
getVariableResolvers 
32[[#4c8db720]]
getContainerResolvers