Class GenericArgument<T>
java.lang.Object
io.micronaut.core.type.DefaultArgument<T>
io.micronaut.core.type.GenericArgument<T>
- Type Parameters:
T- generic argument type
- All Implemented Interfaces:
AnnotatedElement, AnnotationMetadataProvider, AnnotationSource, Named, Argument<T>, ArgumentCoercible<T>, TypeInformation<T>, TypeVariableResolver, Type
Captures a generic
Argument.
Example usage: new GenericArgument<List<T>>() {}
- Since:
- 1.0
- Author:
- Vladimir Kulev
-
Nested Class Summary
Nested classes/interfaces inherited from interface TypeInformation
TypeInformation.TypeFormat -
Field Summary
Fields inherited from class DefaultArgument
CONTAINER_TYPES, PROVIDER_TYPESFields inherited from interface AnnotationSource
EMPTYFields inherited from interface Argument
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LIST_OF_STRING, LONG, OBJECT_ARGUMENT, SHORT, STRING, VOID, VOID_OBJECT, ZERO_ARGUMENTS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DefaultArgument
asArgument, equals, equalsType, getAnnotationMetadata, getFirstTypeVariable, getName, getType, getTypeParameters, getTypeVariables, hashCode, isReactive, isTypeVariable, toString, typeHashCode, withAnnotationMetadata, withNameMethods inherited from interface AnnotatedElement
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullableMethods inherited from interface AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface Argument
isAssignableFrom, isAssignableFrom, isInstanceMethods inherited from interface TypeInformation
asParameterizedType, asType, getBeanTypeString, getSimpleName, getTypeName, getTypeString, getTypeString, getWrappedType, getWrapperType, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isOptional, isPrimitive, isProvider, isSpecifiedSingle, isVoid, isWrapperTypeMethods inherited from interface TypeVariableResolver
getTypeVariable
-
Constructor Details
-
GenericArgument
protected GenericArgument()Default constructor.
-