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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisWrapperType(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, waitMethods inherited from interface io.micronaut.core.type.TypeInformationProvider
isCompletable, isReactive, isSingle, isSpecifiedSingle
-
Constructor Details
-
ProviderTypeInformationProvider
public ProviderTypeInformationProvider()
-
-
Method Details
-
isWrapperType
Description copied from interface:TypeInformationProviderDoes the type represent a wrapper type.- Specified by:
isWrapperTypein interfaceTypeInformationProvider- Parameters:
type- The type- Returns:
- True if it is a wrapper type
- See Also:
-