public interface JavadocForBinaryQueryImplementation
A default implementation is registered by the
org.netbeans.modules.java.project module which looks up the
project corresponding to the binary file and checks whether that
project has an implementation of this interface in its lookup. If so, it
delegates to that implementation. Therefore it is not generally necessary
for a project type provider to register its own global implementation of
this query, if it depends on the Java Project module and uses this style.
JavadocForBinaryQuery.Result findJavadoc(URL binaryRoot)
Any absolute URL may be used but typically it will use the
protocol for directory entries and
jar protocol for JAR entries
JavadocForBinaryQuery.findJavadoc(java.net.URL) calls this method on instances registered
in default lookup until a non-null result is returned for the given binaryRoot.
binaryRoot - the class path root of Java class files
Built on February 16 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.