Get rid of LabelAndConfiguration class: ConfiguredTargetKey contains the same information and is more useful, since it's practically a SkyKey.

PiperOrigin-RevId: 179727105
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/AnalysisFailureEvent.java b/src/main/java/com/google/devtools/build/lib/analysis/AnalysisFailureEvent.java
index 0bc37b7..0893a8e 100644
--- a/src/main/java/com/google/devtools/build/lib/analysis/AnalysisFailureEvent.java
+++ b/src/main/java/com/google/devtools/build/lib/analysis/AnalysisFailureEvent.java
@@ -15,6 +15,7 @@
 package com.google.devtools.build.lib.analysis;
 
 import com.google.devtools.build.lib.cmdline.Label;
+import com.google.devtools.build.lib.skyframe.ConfiguredTargetKey;
 
 /**
  * This event is fired during the build, when it becomes known that the analysis
@@ -22,15 +23,15 @@
  * dependencies.
  */
 public class AnalysisFailureEvent {
-  private final LabelAndConfiguration failedTarget;
+  private final ConfiguredTargetKey failedTarget;
   private final Label failureReason;
 
-  public AnalysisFailureEvent(LabelAndConfiguration failedTarget, Label failureReason) {
+  public AnalysisFailureEvent(ConfiguredTargetKey failedTarget, Label failureReason) {
     this.failedTarget = failedTarget;
     this.failureReason = failureReason;
   }
 
-  public LabelAndConfiguration getFailedTarget() {
+  public ConfiguredTargetKey getFailedTarget() {
     return failedTarget;
   }