-
- All Implemented Interfaces:
public final class TypeCastKt
-
-
Method Summary
Modifier and Type Method Description final ITypeCastgetCaster()final ITypeCastgetCaster()final ITypeCastgetCaster()final static UnitaddTypeCaster(ITypeCast c)final static BooleantypeCastContains(KClass<?> cls)final static <V extends Any> VdecodeAndCast(KProperty<?> $self, Object value)final static ObjectdecodeAndCast(KParameter $self, Object value)final static StringencodeToString(KProperty<?> $self, Object value)final static StringencodeToString(KParameter $self, Object value)final static ObjectdecodeNull(ITypeCast $self, KProperty<?> prop)final static ObjectdecodeNull(ITypeCast $self, KParameter param)-
-
Method Detail
-
addTypeCaster
final static Unit addTypeCaster(ITypeCast c)
-
typeCastContains
final static Boolean typeCastContains(KClass<?> cls)
-
decodeAndCast
final static <V extends Any> V decodeAndCast(KProperty<?> $self, Object value)
-
decodeAndCast
final static Object decodeAndCast(KParameter $self, Object value)
-
encodeToString
final static String encodeToString(KProperty<?> $self, Object value)
-
encodeToString
final static String encodeToString(KParameter $self, Object value)
-
decodeNull
final static Object decodeNull(ITypeCast $self, KProperty<?> prop)
-
decodeNull
final static Object decodeNull(ITypeCast $self, KParameter param)
-
-
-
-