public CachedRuntimeClasspathEntryResolver(){ defaultRes = new DefaultEntryResolver(); }
@Override public IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, IJavaProject project) throws CoreException { return resolveRuntimeClasspathEntry(entry, project, false); }
/** * Returns the resolver registered for the given contributed classpath * entry type. * * @param typeId the id of the contributed classpath entry * @return the resolver registered for the given classpath entry */ private static IRuntimeClasspathEntryResolver getContributedResolver(String typeId) { IRuntimeClasspathEntryResolver resolver = getEntryResolvers().get(typeId); if (resolver == null) { return new DefaultEntryResolver(); } return resolver; }
/** * Returns the resolver registered for the given contributed classpath * entry type. * * @param typeId the id of the contributed classpath entry * @return the resolver registered for the given classpath entry */ private static IRuntimeClasspathEntryResolver getContributedResolver(String typeId) { IRuntimeClasspathEntryResolver resolver = getEntryResolvers().get(typeId); if (resolver == null) { return new DefaultEntryResolver(); } return resolver; }