public class QueryTargetsMacroExpander extends QueryMacroExpander<QueryTargetsMacro>
'$(query_targets "deps(:foo)")' '$(query_targets "filter(bar, classpath(:bar))")' '$(query_targets "attrfilter(annotation_processors, com.foo.Processor, deps(:app))")'
QueryMacroExpander.QueryResults
Constructor and Description |
---|
QueryTargetsMacroExpander(TargetGraph targetGraph) |
Modifier and Type | Method and Description |
---|---|
Arg |
expandFrom(BuildTarget target,
ActionGraphBuilder graphBuilder,
QueryTargetsMacro input,
QueryMacroExpander.QueryResults precomputedQueryResults) |
Class<QueryTargetsMacro> |
getInputClass() |
precomputeWorkFrom
public QueryTargetsMacroExpander(TargetGraph targetGraph)
public Class<QueryTargetsMacro> getInputClass()
public Arg expandFrom(BuildTarget target, ActionGraphBuilder graphBuilder, QueryTargetsMacro input, QueryMacroExpander.QueryResults precomputedQueryResults)