Package io.micronaut.inject.provider
Class ProviderTypeInformationProvider
java.lang.Object
io.micronaut.inject.provider.ProviderTypeInformationProvider
- All Implemented Interfaces:
TypeInformationProvider
public final class ProviderTypeInformationProvider
extends Object
implements TypeInformationProvider
Makes
TypeInformation.isWrapperType()
return true for Providers.- Since:
- 3.0.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isWrapperType
(Class<?> type) Does the type represent a wrapper type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.type.TypeInformationProvider
isCompletable, isReactive, isSingle, isSpecifiedSingle
-
Constructor Details
-
ProviderTypeInformationProvider
public ProviderTypeInformationProvider()
-
-
Method Details
-
isWrapperType
Description copied from interface:TypeInformationProvider
Does the type represent a wrapper type.- Specified by:
isWrapperType
in interfaceTypeInformationProvider
- Parameters:
type
- The type- Returns:
- True if it is a wrapper type
- See Also:
-