src/com/facebook/buck/core/rules/transformer/TargetNodeToBuildRuleTransformer.java
/**
   * Converts a given {@link TargetNode} to a {@link BuildRule} as part of action graph
   * construction. The providers computed from {@link
   * com.facebook.buck.core.rules.DescriptionWithTargetGraph#createProviders(ProviderCreationContext,
   * BuildTarget, ConstructorArg)} will be passed to this function to be used to construct the
   * {@link BuildRule}
   */
Converts a given  TargetNode to a  BuildRule as part of action graph
construction. The providers computed from {@link
com.facebook.buck.core.rules.DescriptionWithTargetGraph#createProviders(ProviderCreationContext,
BuildTarget, ConstructorArg)} will be passed to this function to be used to construct the
BuildRule
Converts a given TargetNode to a BuildRule as part of action graph construction . The providers computed from { @link com . facebook . buck . core . rules . DescriptionWithTargetGraph#createProviders ( ProviderCreationContext BuildTarget ConstructorArg ) } will be passed to this function to be used to construct the BuildRule
<T extends ConstructorArg> BuildRule transform(
      ToolchainProvider toolchainProvider,
      TargetGraph targetGraph,
      ConfigurationRuleRegistry configurationRuleRegistry,
      ActionGraphBuilder graphBuilder,
      TargetNode<T> targetNode,
      ProviderInfoCollection providerInfoCollection);
< T extends ConstructorArg > BuildRule transform ( ToolchainProvider toolchainProvider , TargetGraph targetGraph , ConfigurationRuleRegistry configurationRuleRegistry , ActionGraphBuilder graphBuilder , TargetNode < T > targetNode , ProviderInfoCollection providerInfoCollection ) ;
Converts a given {@link TargetNode} to a {@link BuildRule} as part of action graph
 construction.
Converts a given { @link TargetNode } to a { @link BuildRule } as part of action graph construction .