public abstract class LeafUnconfiguredOnlyCoercer<T> extends LeafTypeNewCoercer<T,T>
TypeCoercer.Traversal
Constructor and Description |
---|
LeafUnconfiguredOnlyCoercer() |
Modifier and Type | Method and Description |
---|---|
T |
coerce(CellNameResolver cellRoots,
ProjectFilesystem filesystem,
ForwardRelativePath pathRelativeToProjectRoot,
TargetConfiguration targetConfiguration,
TargetConfiguration hostConfiguration,
T object) |
com.google.common.reflect.TypeToken<T> |
getOutputType() |
boolean |
unconfiguredToConfiguredCoercionIsIdentity()
TypeCoercer.coerce(CellNameResolver, ProjectFilesystem, ForwardRelativePath, TargetConfiguration,
TargetConfiguration, Object) must be no-op when this returns true . |
hasElementClass, traverse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkOutputAssignableTo, checkUnconfiguredAssignableTo, coerceBoth, coerceToUnconfigured, concat, getUnconfiguredType, supportsConcatenation
public final boolean unconfiguredToConfiguredCoercionIsIdentity()
TypeCoercer
TypeCoercer.coerce(CellNameResolver, ProjectFilesystem, ForwardRelativePath, TargetConfiguration,
TargetConfiguration, Object)
must be no-op when this returns true
.public final com.google.common.reflect.TypeToken<T> getOutputType()
public final T coerce(CellNameResolver cellRoots, ProjectFilesystem filesystem, ForwardRelativePath pathRelativeToProjectRoot, TargetConfiguration targetConfiguration, TargetConfiguration hostConfiguration, T object)