public class JRERuntimeClasspathEntryResolver extends java.lang.Object implements IRuntimeClasspathEntryResolver2
| Constructor and Description |
|---|
JRERuntimeClasspathEntryResolver() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSameArchives(LibraryLocation[] libs,
LibraryLocation[] defaultLibs)
Return whether the given list of libraries refer to the same archives in the same
order.
|
boolean |
isVMInstallReference(IClasspathEntry entry)
Returns whether the given classpath entry references a VM install.
|
protected IRuntimeClasspathEntry[] |
resolveLibraryLocations(IVMInstall vm,
int kind)
Resolves library locations for the given VM install
|
IRuntimeClasspathEntry[] |
resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
IJavaProject project)
Returns resolved runtime classpath entries for the given runtime classpath entry,
in the context of the given launch configuration.
|
IRuntimeClasspathEntry[] |
resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
ILaunchConfiguration configuration)
Returns resolved runtime classpath entries for the given runtime classpath entry,
in the context of the given launch configuration.
|
IVMInstall |
resolveVMInstall(IClasspathEntry entry)
Returns a VM install associated with the given classpath entry,
or
null if none. |
public IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, ILaunchConfiguration configuration) throws CoreException
IRuntimeClasspathEntryResolverresolveRuntimeClasspathEntry in interface IRuntimeClasspathEntryResolverentry - runtime classpath entry to resolve, of type
VARIABLE or CONTAINTERconfiguration - the context in which the runtime classpath entry
needs to be resolvedCoreException - if unable to resolve the entryIRuntimeClasspathEntryResolver.resolveRuntimeClasspathEntry(IRuntimeClasspathEntry, ILaunchConfiguration)public IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, IJavaProject project) throws CoreException
IRuntimeClasspathEntryResolverresolveRuntimeClasspathEntry in interface IRuntimeClasspathEntryResolverentry - runtime classpath entry to resolve, of type
VARIABLE or CONTAINTERproject - the context in which the runtime classpath entry
needs to be resolvedCoreException - if unable to resolve the entryIRuntimeClasspathEntryResolver.resolveRuntimeClasspathEntry(IRuntimeClasspathEntry, IJavaProject)protected IRuntimeClasspathEntry[] resolveLibraryLocations(IVMInstall vm, int kind)
vm - the VMkind - the entry kindIRuntimeClasspathEntryspublic static boolean isSameArchives(LibraryLocation[] libs, LibraryLocation[] defaultLibs)
libs - the locationsdefaultLibs - the default locationspublic IVMInstall resolveVMInstall(IClasspathEntry entry)
IRuntimeClasspathEntryResolvernull if none.resolveVMInstall in interface IRuntimeClasspathEntryResolverentry - classpath entrynull if noneIRuntimeClasspathEntryResolver.resolveVMInstall(IClasspathEntry)public boolean isVMInstallReference(IClasspathEntry entry)
IRuntimeClasspathEntryResolver2isVMInstallReference in interface IRuntimeClasspathEntryResolver2entry - classpath entry