T - The generic typepublic final class ArgumentBeanType<T> extends Object implements BeanType<T>, Argument<T>
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, OBJECT_ARGUMENT, SHORT, VOID, 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 |
isEnabled(BeanContext context)
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, waitrequiresMethodProcessinggetTypeName, getTypeString, hasTypeVariables, isInstance, listOf, mapOf, of, of, of, of, of, of, setOf, toClassArray, toStringgetFirstTypeVariable, getTypeParameters, getTypeVariableisDeclaredNullable, isNullablefindAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypegetAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotationpublic String getName()
public AnnotationMetadata getAnnotationMetadata()
AnnotationMetadataProviderAnnotationMetadata.EMPTY_METADATA.getAnnotationMetadata in interface AnnotationMetadataProviderAnnotationMetadatapublic Map<String,Argument<?>> getTypeVariables()
getTypeVariables in interface TypeVariableResolverpublic boolean equalsType(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 context