Class ParameterizedTypeImpl

java.lang.Object
nonapi.io.github.classgraph.json.ParameterizedTypeImpl
All Implemented Interfaces:
ParameterizedType, Type

class ParameterizedTypeImpl extends Object implements ParameterizedType
An implementation of ParameterizedType, used to replace type variables with concrete types.
  • Field Details

    • actualTypeArguments

      private final Type[] actualTypeArguments
      The actual type arguments.
    • rawType

      private final Class<?> rawType
      The raw type.
    • ownerType

      private final Type ownerType
      The owner type.
    • MAP_OF_UNKNOWN_TYPE

      public static final Type MAP_OF_UNKNOWN_TYPE
      The type parameters of Map instances of unknown generic type.
    • LIST_OF_UNKNOWN_TYPE

      public static final Type LIST_OF_UNKNOWN_TYPE
      The type parameter of List instances of unknown generic type.
  • Constructor Details

    • ParameterizedTypeImpl

      ParameterizedTypeImpl(Class<?> rawType, Type[] actualTypeArguments, Type ownerType)
      Constructor.
      Parameters:
      rawType - the raw type
      actualTypeArguments - the actual type arguments
      ownerType - the owner type
  • Method Details