aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Michajlo Matijkiw <michajlo@google.com>2015-05-29 14:27:09 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2015-06-01 15:48:05 +0000
commit91407183365cff3f8fc06d8b7af018509212e060 (patch)
treef5a03a6040e9e312ec5ee06024ad758c0dc8d3b6 /src/main/java/com
parent0efd26fe8ecc612b0a36784f38848265e62ff013 (diff)
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
Diffstat (limited to 'src/main/java/com')
-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;