Constructor and Description |
---|
ZeroArgMacroTypeCoercer(Class<M> mClass,
M val) |
Modifier and Type | Method and Description |
---|---|
M |
coerce(CellNameResolver cellNameResolver,
ProjectFilesystem filesystem,
ForwardRelativePath pathRelativeToProjectRoot,
TargetConfiguration targetConfiguration,
TargetConfiguration hostConfiguration,
com.google.common.collect.ImmutableList<String> args) |
Class<M> |
getOutputClass() |
boolean |
hasElementClass(Class<?>[] types) |
void |
traverse(CellNameResolver cellRoots,
M macro,
TypeCoercer.Traversal traversal) |
public boolean hasElementClass(Class<?>[] types)
public void traverse(CellNameResolver cellRoots, M macro, TypeCoercer.Traversal traversal)
public M coerce(CellNameResolver cellNameResolver, ProjectFilesystem filesystem, ForwardRelativePath pathRelativeToProjectRoot, TargetConfiguration targetConfiguration, TargetConfiguration hostConfiguration, com.google.common.collect.ImmutableList<String> args) throws CoerceFailedException
CoerceFailedException