public interface BinaryForSourceQueryImplementation
BinaryForSourceQuery
,
SourceForBinaryQuery
,
SourceForBinaryQueryImplementation
Modifier and Type | Method and Description |
---|---|
BinaryForSourceQuery.Result |
findBinaryRoots(URL sourceRoot)
Returns the binary root(s) for a given source root.
|
BinaryForSourceQuery.Result findBinaryRoots(URL sourceRoot)
The returned BinaryForSourceQuery.Result must be a singleton. It means that for
repeated calling of this method with the same recognized root the method has to
return the same instance of BinaryForSourceQuery.Result.
The typical implemantation of the findBinaryRoots contains 3 steps:
Any absolute URL may be used but typically it will use the file
protocol for directory entries and jar
protocol for JAR entries
(e.g. jar:file:/tmp/foo.jar!/).
sourceRoot
- the source path root