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