CollectionWrapperDescriptor
data class CollectionWrapperDescriptor(val wrapperObjectFqn: String, val forTypeFqn: String, val providesWrap: Boolean, val providesUnwrap: Boolean)
A validated @CollectionWrapper registration: which container type it serves and which directions it provides. TypeMatcher consults the direction flags so a mapping that needs a missing direction gets a guided compile error (the wrapper counterpart of UnsupportedConversion).
Properties
Link copied to clipboard
FQN of the wrapped container type from @CollectionWrapper.forType.
Link copied to clipboard
Simple name of the wrapped container type for error messages.
Link copied to clipboard
True when a valid fun <T> unwrap(source: ForType<T>): List<T> is declared.
Link copied to clipboard
True when a valid fun <T> wrap(source: List<T>): ForType<T> is declared.
Link copied to clipboard
FQN of the wrapper object (e.g. com.example.PersistentListWrapper).
Link copied to clipboard
Simple name of the wrapper object for error messages.