public static ResourceHandle use(Resource resource) {
        return resource instanceof ResourceHandle
                ? ((ResourceHandle) resource) : new ResourceHandle(resource);
    }
public static ResourceHandle use ( Resource resource ) { return resource instanceof ResourceHandle ? ( ( ResourceHandle ) resource ) : new ResourceHandle ( resource ) ; }
The 'adaptTo' like wrapping helper.

@return the wrapped resource (may be resource itself if it is a ResourceHandle), not null