public abstract class BuildTargetMacro extends Object implements Macro
BuildTarget
.Constructor and Description |
---|
BuildTargetMacro() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object another) |
BuildTarget |
getTarget() |
abstract BuildTargetWithOutputs |
getTargetWithOutputs() |
int |
hashCode() |
Optional<Macro> |
translateTargets(CellNameResolver cellPathResolver,
BaseName targetBaseName,
TargetNodeTranslator translator) |
protected abstract BuildTargetMacro |
withTargetWithOutputs(BuildTargetWithOutputs target) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getMacroClass
public abstract BuildTargetWithOutputs getTargetWithOutputs()
public BuildTarget getTarget()
protected abstract BuildTargetMacro withTargetWithOutputs(BuildTargetWithOutputs target)
BuildTargetMacro
with the given BuildTargetWithOutputs
.public final Optional<Macro> translateTargets(CellNameResolver cellPathResolver, BaseName targetBaseName, TargetNodeTranslator translator)
translateTargets
in interface Macro
translateTargets
in interface TargetTranslatable<Macro>