public interface TypeInformationProvider
TypeInformation.isReactive()
.Modifier and Type | Method and Description |
---|---|
default boolean |
isCompletable(Class<?> type)
does the type represent a completable type.
|
default boolean |
isReactive(Class<?> type)
does the type represent a reactive type.
|
default boolean |
isSingle(Class<?> type)
does the given type represent a type that emits a single item.
|
default boolean |
isSpecifiedSingle(AnnotationMetadataProvider annotationMetadataProvider)
Returns whether the annotation metadata specifies the type as single.
|
default boolean |
isWrapperType(Class<?> type)
Does the type represent a wrapper type.
|
default boolean isSpecifiedSingle(@NonNull AnnotationMetadataProvider annotationMetadataProvider)
annotationMetadataProvider
- The annotation metadata providerdefault boolean isSingle(@NonNull Class<?> type)
type
- True if it doesdefault boolean isReactive(@NonNull Class<?> type)
type
- The typedefault boolean isCompletable(@NonNull Class<?> type)
type
- The typedefault boolean isWrapperType(Class<?> type)
type
- The typeTypeInformation.isWrapperType()