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
,java.lang.reflect.Type
public abstract class GenericArgument<T> extends DefaultArgument<T>
Captures a genericArgument
.Example usage:
new GenericArgument<List<T>>() {}
- Since:
- 1.0
-
-
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
Constructors Modifier Constructor Description protected
GenericArgument()
Default constructor.
-
Method Summary
-
Methods inherited from class io.micronaut.core.type.DefaultArgument
asArgument, equals, equalsType, getAnnotationMetadata, getFirstTypeVariable, getName, getType, getTypeParameters, getTypeVariables, hashCode, 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, 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, isReactive, isSpecifiedSingle, isVoid, isWrapperType
-
Methods inherited from interface io.micronaut.core.type.TypeVariableResolver
getTypeVariable
-
-