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