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, unconfiguredToConfiguredCoercionIsIdentityhasElementClass, traverseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckOutputAssignableTo, checkUnconfiguredAssignableTo, coerceBoth, concat, supportsConcatenationpublic com.google.common.reflect.TypeToken<E> getUnconfiguredType()
public E coerceToUnconfigured(CellNameResolver cellRoots, ProjectFilesystem filesystem, ForwardRelativePath pathRelativeToProjectRoot, Object object) throws CoerceFailedException
TypeCoercerCoerceFailedException