Package io.micronaut.core.type
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
-
Field Summary
Fields inherited from class io.micronaut.core.type.DefaultArgument
CONTAINER_TYPES, PROVIDER_TYPES
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
Fields inherited from interface io.micronaut.core.type.Argument
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LIST_OF_STRING, LONG, OBJECT_ARGUMENT, SHORT, STRING, VOID, VOID_OBJECT, ZERO_ARGUMENTS
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.core.type.DefaultArgument
asArgument, equals, equalsType, getAnnotationMetadata, getFirstTypeVariable, getName, getType, getTypeParameters, getTypeVariables, hashCode, isReactive, isTypeVariable, toString, typeHashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.core.annotation.AnnotatedElement
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullable
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
Methods inherited from interface io.micronaut.core.type.Argument
isAssignableFrom, isAssignableFrom, isInstance
Methods inherited from interface io.micronaut.core.type.TypeInformation
asParameterizedType, asType, getSimpleName, getTypeName, getTypeString, getWrappedType, getWrapperType, hasTypeVariables, isArray, isAsync, isAsyncOrReactive, isCompletable, isContainerType, isOptional, isPrimitive, isProvider, isSpecifiedSingle, isVoid, isWrapperType
Methods inherited from interface io.micronaut.core.type.TypeVariableResolver
getTypeVariable
-
Constructor Details
-
GenericArgument
protected GenericArgument()Default constructor.
-