Remove SkyKey interface from ActionAnalysisMetadata.
@@ -15,20 +15,13 @@ package com.google.devtools.build.lib.actions;
import com.google.common.collect.ImmutableSet;
import com.google.devtools.build.lib.analysis.platform.PlatformInfo;
-import com.google.devtools.build.skyframe.SkyFunctionName;
-import com.google.devtools.build.skyframe.SkyKey;
import javax.annotation.Nullable;
/**
* An Analysis phase interface for an {@link Action} or Action-like object, containing only
* side-effect-free query methods for information needed during action analysis.
- *
- * <p>This interface extends {@link SkyKey} for use in the Google-internal {@link
- * #ACTION_ANNOTATION_FUNCTION}.
*/
-public interface ActionAnalysisMetadata extends SkyKey {
-
- SkyFunctionName ACTION_ANNOTATION_FUNCTION = SkyFunctionName.createHermetic("ANNOTATE_ACTION");
+public interface ActionAnalysisMetadata {
/**
* Return this key from {@link #getKey} to signify a failed key computation.
@@ -40,11 +33,6 @@ public interface ActionAnalysisMetadata extends SkyKey {
*/
String KEY_ERROR = "1ea50e01-0349-4552-80cf-76cf520e8592";
- @Override
- default SkyFunctionName functionName() {
- return ACTION_ANNOTATION_FUNCTION;
- }
-
/**
* Returns the owner of this executable if this executable can supply verbose information. This is
* typically the rule that constructed it; see ActionOwner class comment for details. Returns
