-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Converter,icu.windea.breezeframework.core.component.GenericConverter,icu.windea.breezeframework.core.component.TypedComponent
public class Converter.EnumConverter extends AbstractConverter<Enum<?>> implements GenericConverter<Enum<?>>
-
-
Field Summary
Fields Modifier and Type Field Description private final Class<Enum<?>>targetTypepublic final static Converter.EnumConverterINSTANCE
-
Method Summary
Modifier and Type Method Description Enum<?>convert(Object value, Type targetType)Enum<?>convertOrNull(Object value, Type targetType)Class<Enum<?>>getTargetType()目标类型。 -
Methods inherited from class icu.windea.breezeframework.core.component.AbstractConverter
convert, convertOrNull -
Methods inherited from class icu.windea.breezeframework.core.component.Converter.EnumConverter
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-