@@ -0,0 +1,1531 @@
+/*%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;%0A%0Aimport com.facebook.buck.core.model.BuildTarget;%0Aimport com.facebook.buck.core.rules.providers.ProviderInfoCollection;%0Aimport com.facebook.buck.core.util.immutables.BuckStyleValue;%0Aimport com.facebook.buck.io.filesystem.ProjectFilesystem;%0Aimport com.google.common.collect.ImmutableMap;%0A%0A/**%0A * The context given to %7B@link DescriptionWithTargetGraph#createProviders(ProviderCreationContext,%0A * BuildTarget, Object)%7D.%0A *%0A * %3Cp%3EThis is to be a subset of %7B@link BuildRuleCreationContextWithTargetGraph%7D, plus the %7B@link%0A * ProviderInfoCollection%7D of all the dependencies.%0A */%0A@BuckStyleValue%0Apublic interface ProviderCreationContext %7B%0A%0A  /** @return %7B@link ProviderInfoCollection%7D of the parse time dependencies */%0A  ImmutableMap%3CBuildTarget, ProviderInfoCollection%3E dependencies();%0A%0A  /** @return the %7B@link ProjectFilesystem%7D for the rule */%0A  ProjectFilesystem getProjectFilesystem();%0A%7D%0A

Add a ProviderCreationContext to be used in Descriptions