Interface GenericArrayType

  • All Superinterfaces:
    Type
    All Known Implementing Classes:
    GenericArrayTypeImpl

    public interface GenericArrayType
    extends Type
    This interface represents an array type with a component type that is either a parameterized type or a type variable.
    Since:
    1.5
    • Method Detail

      • getGenericComponentType

        Type getGenericComponentType()
        Returns the component type of this array.
        Returns:
        the component type of this array
        Throws:
        TypeNotPresentException - if the component type points to a missing type
        MalformedParameterizedTypeException - if the component type points to a type that cannot be instantiated for some reason