public class CxxLinkGroupMappingTargetTraversalCoercer extends LeafTypeCoercer<CxxLinkGroupMappingTarget.Traversal>
TypeCoercer
for CxxLinkGroupMappingTarget.Traversal
.
This TypeCoercer
is used to convert the traversal of a link group mapping (e.g.,
(..., "tree")
) to a CxxLinkGroupMappingTarget.Traversal
.
TypeCoercer.Traversal
Constructor and Description |
---|
CxxLinkGroupMappingTargetTraversalCoercer() |
Modifier and Type | Method and Description |
---|---|
CxxLinkGroupMappingTarget.Traversal |
coerce(CellNameResolver cellRoots,
ProjectFilesystem alsoUnused,
ForwardRelativePath pathRelativeToProjectRoot,
TargetConfiguration targetConfiguration,
TargetConfiguration hostConfiguration,
Object object) |
com.google.common.reflect.TypeToken<CxxLinkGroupMappingTarget.Traversal> |
getOutputType() |
coerceToUnconfigured, getUnconfiguredType, hasElementClass, traverse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkOutputAssignableTo, checkUnconfiguredAssignableTo, coerceBoth, concat, supportsConcatenation, unconfiguredToConfiguredCoercionIsIdentity
public CxxLinkGroupMappingTargetTraversalCoercer()
public com.google.common.reflect.TypeToken<CxxLinkGroupMappingTarget.Traversal> getOutputType()
public CxxLinkGroupMappingTarget.Traversal coerce(CellNameResolver cellRoots, ProjectFilesystem alsoUnused, ForwardRelativePath pathRelativeToProjectRoot, TargetConfiguration targetConfiguration, TargetConfiguration hostConfiguration, Object object) throws CoerceFailedException
CoerceFailedException
- Input object cannot be coerced into the given type.