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

public abstract class GenericArgument<T> extends DefaultArgument<T>
Captures a generic Argument.

Example usage: new GenericArgument<List<T>>() {}

Since:
1.0
Author:
Vladimir Kulev
  • Constructor Details

    • GenericArgument

      protected GenericArgument()
      Default constructor.