return wrapper.lookup(resource);
}
private static ContainerWrapper wrapNonVirtualContainer(ISourceContainer container) {
if (container instanceof ContainerSourceContainer) {
final ContainerSourceContainer containerSourceContainer =
(ContainerSourceContainer) container;
return new ContainerWrapper() {
@Override
public String lookup(IFile resource) {
return lookupInResourceContainer(resource, containerSourceContainer.getContainer());
}
};
} else if (container instanceof WorkspaceSourceContainer) {
return new ContainerWrapper() {
@Override