Package se.ansman.kotshi.model
Class SealedClassJsonAdapterKt
-
- All Implemented Interfaces:
public final class SealedClassJsonAdapterKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> Sequence<T>getSealedSubtypes(T $self, Function1<T, Sequence<T>> getSealedSubclasses, Function1<T, Boolean> isSealed, Function2<T, Class<out Annotation>, Boolean> hasAnnotation, Function1<T, String> getPolymorphicLabelKey, Function1<T, String> getPolymorphicLabel, Function2<String, T, Throwable> error, String labelKey)-
-
Method Detail
-
getSealedSubtypes
final static <T extends Any> Sequence<T> getSealedSubtypes(T $self, Function1<T, Sequence<T>> getSealedSubclasses, Function1<T, Boolean> isSealed, Function2<T, Class<out Annotation>, Boolean> hasAnnotation, Function1<T, String> getPolymorphicLabelKey, Function1<T, String> getPolymorphicLabel, Function2<String, T, Throwable> error, String labelKey)
-
-
-
-