The `getPrerequisiteArtifact` method in the `RuleContext` class of the `com.google.devtools.build.lib.analysis` package in Java retrieves the artifact for a specified rule dependency. It allows one to access the artifact that is depended upon by a rule during the build process. This method is useful when there is a need to perform further analysis, processing, or validation on the prerequisite artifact.
Java RuleContext.getPrerequisiteArtifact - 23 examples found. These are the top rated real world Java examples of com.google.devtools.build.lib.analysis.RuleContext.getPrerequisiteArtifact extracted from open source projects. You can rate examples to help us improve the quality of examples.