T - The generic typepublic final class ArgumentBeanType<T> extends Object implements BeanType<T>, Argument<T>
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LIST_OF_STRING, LONG, OBJECT_ARGUMENT, SHORT, STRING, VOID, VOID_OBJECT, ZERO_ARGUMENTSEMPTY| Constructor and Description |
|---|
ArgumentBeanType(Argument<T> argument)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsType(Argument<?> other)
Whether the types are equivalent.
|
AnnotationMetadata |
getAnnotationMetadata()
Supplies the metadata.
|
Class<T> |
getBeanType()
Returns the bean type.
|
String |
getName() |
Class<T> |
getType() |
Map<String,Argument<?>> |
getTypeVariables() |
boolean |
isContainerType()
Checks whether the bean type is a container type.
|
boolean |
isEnabled(BeanContext context)
Return whether this component is enabled for the given context.
|
boolean |
isEnabled(BeanContext context,
BeanResolutionContext resolutionContext)
Return whether this component is enabled for the given context.
|
boolean |
isPrimary() |
int |
typeHashCode()
The hash code including only the types.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExposedTypes, isCandidateBean, requiresMethodProcessingisAssignableFrom, isAssignableFrom, isInstance, isTypeVariable, listOf, listOf, mapOf, mapOf, of, of, of, of, of, of, of, of, of, ofTypeVariable, ofTypeVariable, ofTypeVariable, ofTypeVariable, setOf, setOf, toClassArray, toStringasParameterizedType, getSimpleName, getTypeName, getTypeString, getWrappedType, getWrapperType, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isOptional, isPrimitive, isProvider, isReactive, isSpecifiedSingle, isVoid, isWrapperTypegetFirstTypeVariable, getTypeParameters, getTypeVariableisDeclaredNonNull, isDeclaredNullable, isNonNull, isNullablefindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredpublic boolean isContainerType()
BeanTypeisContainerType in interface TypeInformation<T>isContainerType in interface BeanType<T>Iterable.public String getName()
public AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProviderAnnotationMetadata.EMPTY_METADATA.getAnnotationMetadata in interface AnnotationMetadataProviderAnnotationMetadatapublic Map<String,Argument<?>> getTypeVariables()
getTypeVariables in interface TypeVariableResolverpublic Class<T> getType()
getType in interface TypeInformation<T>public boolean equalsType(@Nullable Argument<?> other)
ArgumentObject.equals(Object) implementation includes the argument
name within the comparison so this method offers a variation that just compares types.equalsType in interface Argument<T>other - The type typepublic int typeHashCode()
ArgumentObject.hashCode() implementation includes the
argument name within the comparison so this method offers a variation that just compares types.typeHashCode in interface Argument<T>public boolean isPrimary()
public Class<T> getBeanType()
BeanTypegetBeanType in interface BeanType<T>public boolean isEnabled(BeanContext context)
BeanContextConditionalisEnabled in interface BeanContextConditionalcontext - The contextpublic boolean isEnabled(@NonNull BeanContext context, @Nullable BeanResolutionContext resolutionContext)
BeanContextConditionalisEnabled in interface BeanContextConditionalcontext - The contextresolutionContext - The bean resolution context