Fix some warnings.

--
MOS_MIGRATED_REVID=102332437
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/RuleDefinition.java b/src/main/java/com/google/devtools/build/lib/analysis/RuleDefinition.java
index 2c0fbd9..6d7cf9f 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/RuleDefinition.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/RuleDefinition.java
@@ -25,7 +25,7 @@
 /**
  * This class is a common ancestor for every rule object.
  *
- * <p>Implementors are also required to have the {@link BlazeRule} annotation
+ * <p>Implementors are also required to have the {@link Metadata} annotation
  * set.
  */
 public interface RuleDefinition {
@@ -36,7 +36,7 @@
    *
    * @param builder A {@link com.google.devtools.build.lib.packages.RuleClass.Builder} object
    *     already preloaded with the attributes of the ancestors specified in the {@link
-   *     BlazeRule} annotation.
+   *     Metadata} annotation.
    * @param environment The services Blaze provides to rule definitions.
    *
    * @return the {@link RuleClass} representing the rule.