| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.981 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 1784 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/JavaRuntime.java |
| 2 | 5 | 1799 | 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);
}
|
| ||||
/**
* 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);
}
|
| |||
/**
* 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#536e0840]] | getVMInstallTypeId |
| 1 | 2 | [[#536e0840]] | getVMInstallName |
| 2 | 1 | [[#536e0760]] | getVMTypeId |
| 2 | 2 | [[#536e0760]] | getVMName |