[referenceFinder] refine a javadoc for IResourceAccess

Signed-off-by: Anton Kosiakov <anton.kosyakov@typefox.io>
This commit is contained in:
Anton Kosiakov 2017-06-05 14:26:41 +05:00
parent 51ffbf898f
commit 7f91cc9c09

View file

@ -44,6 +44,8 @@ public interface IReferenceFinder {
/**
* Provides safe read access to a resource set for searching local references or references in a demand-created or
* shared resource set.
*
* Return `null` if a resource set cannot be provided for the given target URI.
*/
interface IResourceAccess {
<R> R readOnly(URI targetURI, IUnitOfWork<R, ResourceSet> work);