public class IdentityTypeCoercer<T> extends LeafUnconfiguredOnlyCoercer<T>
TypeCoercer.Traversal
Constructor and Description |
---|
IdentityTypeCoercer(Class<T> type) |
IdentityTypeCoercer(com.google.common.reflect.TypeToken<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
coerceToUnconfigured(CellNameResolver cellRoots,
ProjectFilesystem filesystem,
ForwardRelativePath pathRelativeToProjectRoot,
Object object)
Coerce to a value for unconfigured graph.
|
com.google.common.reflect.TypeToken<T> |
getUnconfiguredType() |
coerce, getOutputType, unconfiguredToConfiguredCoercionIsIdentity
hasElementClass, traverse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkOutputAssignableTo, checkUnconfiguredAssignableTo, coerceBoth, concat, supportsConcatenation
public IdentityTypeCoercer(com.google.common.reflect.TypeToken<T> type)
public com.google.common.reflect.TypeToken<T> getUnconfiguredType()
public T coerceToUnconfigured(CellNameResolver cellRoots, ProjectFilesystem filesystem, ForwardRelativePath pathRelativeToProjectRoot, Object object) throws CoerceFailedException
TypeCoercer
CoerceFailedException