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
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.core.type.TypeInformation
TypeInformation.TypeFormat -
Field Summary
Fields inherited from class io.micronaut.core.type.DefaultArgument
CONTAINER_TYPES, PROVIDER_TYPESFields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTYFields 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
Constructors -
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, withAnnotationMetadata, withNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micronaut.core.annotation.AnnotatedElement
isDeclaredNonNull, isDeclaredNullable, isNonNull, isNullableMethods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByTypeMethods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclaredMethods inherited from interface io.micronaut.core.type.Argument
isAssignableFrom, isAssignableFrom, isInstanceMethods inherited from interface io.micronaut.core.type.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 io.micronaut.core.type.TypeVariableResolver
getTypeVariable
-
Constructor Details
-
GenericArgument
protected GenericArgument()Default constructor.
-