CloneSet6852


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.981class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151784
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
251799
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java
Clone Instance
1
Line Count
5
Source Line
1784
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java

        /**
         * Returns the identifier of the VM install type referenced by the
         * given JRE classpath container path, or <code>null</code> if none.
         * 
         * @param jreContainerPath
         * @return vm install type identifier or <code>null</code>
         * @since 3.2
         */
        public static String getVMInstallTypeId(IPath jreContainerPath) {
                if (JREContainerInitializer.isExecutionEnvironment(jreContainerPath)) {
                        return null;
                }
                return JREContainerInitializer.getVMTypeId(jreContainerPath);
        }


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

        /**
         * Returns the name of the VM install referenced by the
         * given JRE classpath container path, or <code>null</code> if none.
         * 
         * @param jreContainerPath
         * @return vm name or <code>null</code>
         * @since 3.2
         */
        public static String getVMInstallName(IPath jreContainerPath) {
                if (JREContainerInitializer.isExecutionEnvironment(jreContainerPath)) {
                        return null;
                }
                return JREContainerInitializer.getVMName(jreContainerPath);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Returns the identifier of the VM install type referenced by the
         * given JRE classpath container path, or <code>null</code> if none.
         * 
         * @param jreContainerPath
         * @return vm install type identifier or <code>null</code>
         * @since 3.2
         */
/**
         * Returns the name of the VM install referenced by the
         * given JRE classpath container path, or <code>null</code> if none.
         * 
         * @param jreContainerPath
         * @return vm name or <code>null</code>
         * @since 3.2
         */
public static String  [[#variable536e0840]](IPath jreContainerPath) {
  if (JREContainerInitializer.isExecutionEnvironment(jreContainerPath)) {
    return null;
  }
  return JREContainerInitializer. [[#variable536e0760]](jreContainerPath);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#536e0840]]
getVMInstallTypeId 
12[[#536e0840]]
getVMInstallName 
21[[#536e0760]]
getVMTypeId 
22[[#536e0760]]
getVMName