@@ -0,0 +1,1382 @@
+/*%0A * Copyright 2019-present Facebook, Inc.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may%0A * not use this file except in compliance with the License. You may obtain%0A * a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A * License for the specific language governing permissions and limitations%0A * under the License.%0A */%0Apackage com.facebook.buck.core.rules.attr;%0A%0Aimport com.facebook.buck.core.rules.BuildRule;%0Aimport com.facebook.buck.core.sourcepath.SourcePath;%0Aimport com.google.common.collect.ImmutableMap;%0Aimport javax.annotation.Nullable;%0A%0A/**%0A * %7B@link com.facebook.buck.core.rules.BuildRule%7D instances that support multiple outputs via output%0A * labels.%0A */%0Apublic interface HasMultipleOutputs extends BuildRule %7B%0A  /**%0A   * Returns the %7B@link SourcePath%7D to the output associated with the given output label, or %7B@code%0A   * null%7D if it does not exist.%0A   */%0A  @Nullable%0A  SourcePath getSourcePathToOutput(String outputLabel);%0A%0A  /** Returns a map of %7B@link SourcePath%7D instances keyed by associated output labels. */%0A  ImmutableMap%3CString, SourcePath%3E getSourcePathsByOutputsLabels();%0A%7D%0A

Add HasMultipleOutputs interface