public interface SourceForBinaryQueryImplementation2 extends SourceForBinaryQueryImplementation
In addition to the original SourceForBinaryQueryImplementation this interface also provides information used by the java infrastructure if sources should be preferred over the binaries. When sources are preferred the java infrastructure will use sources as a primary source of the metadata otherwise the binaries (classfiles) are used as a primary source of information and sources are used as a source of formal parameter names and javadoc only. In general sources should be preferred for projects which are user editable but not for libraries or platforms where the sources may not be complete or up to date.
SourceForBinaryQueryImplementation
Modifier and Type | Interface and Description |
---|---|
static interface |
SourceForBinaryQueryImplementation2.Result |
Modifier and Type | Method and Description |
---|---|
SourceForBinaryQueryImplementation2.Result |
findSourceRoots2(URL binaryRoot)
Returns the source root(s) for a given binary root.
|
findSourceRoots
SourceForBinaryQueryImplementation2.Result findSourceRoots2(URL binaryRoot)
binaryRoot
- the class path root of Java class filesSourceForBinaryQueryImplementation.findSourceRoots(java.net.URL)