aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/packages/Package.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/packages/Package.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/packages/Package.java12
1 files changed, 7 insertions, 5 deletions
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 1b4db3873d..91c328d8c7 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 @@ public class Package implements Serializable {
/**
* 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 @@ public class Package implements Serializable {
/**
* 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 @@ public class Package implements Serializable {
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 @@ public class Package implements Serializable {
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;