public class BuildRules extends Object
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableSortedSet<BuildRule> |
getExportedRules(Iterable<? extends BuildRule> rules) |
static com.google.common.collect.ImmutableSet<BuildTarget> |
getTransitiveRuntimeDeps(HasRuntimeDeps rule,
BuildRuleResolver resolver) |
static com.google.common.collect.ImmutableSet<BuildRule> |
getUnsortedExportedRules(Iterable<? extends BuildRule> rules) |
static java.util.function.Predicate<BuildRule> |
isBuildRuleWithTarget(BuildTarget target) |
static com.google.common.collect.ImmutableSortedSet<BuildRule> |
toBuildRulesFor(BuildTarget invokingBuildTarget,
BuildRuleResolver ruleResolver,
Iterable<BuildTarget> buildTargets) |
public static com.google.common.collect.ImmutableSortedSet<BuildRule> toBuildRulesFor(BuildTarget invokingBuildTarget, BuildRuleResolver ruleResolver, Iterable<BuildTarget> buildTargets)
public static java.util.function.Predicate<BuildRule> isBuildRuleWithTarget(BuildTarget target)
public static com.google.common.collect.ImmutableSortedSet<BuildRule> getExportedRules(Iterable<? extends BuildRule> rules)
BuildRule
s exported by ExportDependencies
from the given
rules.public static com.google.common.collect.ImmutableSet<BuildRule> getUnsortedExportedRules(Iterable<? extends BuildRule> rules)
public static com.google.common.collect.ImmutableSet<BuildTarget> getTransitiveRuntimeDeps(HasRuntimeDeps rule, BuildRuleResolver resolver)