Fully qualify links to PackageFunction in Package
Helps javadoc resolve the referece. We can't import PackageFunction here
since it's not visible. Instead use the fully qualified name so the link
still works.
--
MOS_MIGRATED_REVID=94757000
diff --git a/src/main/java/com/google/devtools/build/lib/packages/Package.java b/src/main/java/com/google/devtools/build/lib/packages/Package.java
index 1b4db38..91c328d 100644
--- a/src/main/java/com/google/devtools/build/lib/packages/Package.java
+++ b/src/main/java/com/google/devtools/build/lib/packages/Package.java
@@ -750,7 +750,8 @@
/**
* Removes a target from the {@link Package} under construction. Intended to be used only by
- * {@link PackageFunction} to remove targets whose labels cross subpackage boundaries.
+ * {@link com.google.devtools.build.lib.skyframe.PackageFunction} to remove targets whose
+ * labels cross subpackage boundaries.
*/
public void removeTarget(Target target) {
if (target.getPackage() == pkg) {
@@ -760,8 +761,9 @@
/**
* Returns the glob patterns requested by {@link PackageFactory} during evaluation of this
- * package's BUILD file. Intended to be used only by {@link PackageFunction} to mark the
- * appropriate Skyframe dependencies after the fact.
+ * package's BUILD file. Intended to be used only by
+ * {@link com.google.devtools.build.lib.skyframe.PackageFunction} to mark the appropriate
+ * Skyframe dependencies after the fact.
*/
public Set<Pair<String, Boolean>> getGlobPatterns() {
return globber.getGlobPatterns();
@@ -1304,7 +1306,7 @@
return this;
}
- /** Intended to be used only by {@link PackageFunction}. */
+ /** Intended for use by {@link com.google.devtools.build.lib.skyframe.PackageFunction} only. */
public Builder buildPartial() {
if (alreadyBuilt) {
return this;
@@ -1312,7 +1314,7 @@
return beforeBuild();
}
- /** Intended to be used only by {@link PackageFunction}. */
+ /** Intended for use by {@link com.google.devtools.build.lib.skyframe.PackageFunction} only. */
public Package finishBuild() {
if (alreadyBuilt) {
return pkg;