public abstract class BuildTargetMacroExpander<M extends BuildTargetMacro> extends AbstractMacroExpanderWithoutPrecomputedWork<M>
BuildRule
.
Matches either a relative or fully-qualified build target wrapped in $(), unless the
$
is preceded by a backslash.
Constructor and Description |
---|
BuildTargetMacroExpander() |
Modifier and Type | Method and Description |
---|---|
protected abstract Arg |
expand(SourcePathResolverAdapter resolver,
M macro,
BuildRule rule) |
Arg |
expandFrom(BuildTarget target,
ActionGraphBuilder graphBuilder,
M input) |
protected BuildRule |
resolve(ActionGraphBuilder graphBuilder,
M input) |
expandFrom, precomputeWorkFrom
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputClass
protected abstract Arg expand(SourcePathResolverAdapter resolver, M macro, BuildRule rule) throws MacroException
MacroException
protected BuildRule resolve(ActionGraphBuilder graphBuilder, M input) throws MacroException
MacroException
public Arg expandFrom(BuildTarget target, ActionGraphBuilder graphBuilder, M input) throws MacroException
expandFrom
in class AbstractMacroExpanderWithoutPrecomputedWork<M extends BuildTargetMacro>
MacroException