Class JavaGenericArrayType

    • Method Detail

      • getComponentType

        @PublicAPI(usage=ACCESS)
        public JavaType getComponentType()
        Returns:
        The component type of this JavaGenericArrayType, e.g. for A[] within signature MyClass<A, T extends List<A[]>> the component type would be A, while for A[][] within MyClass<A, T extends List<A[][]>> the component type would be A[].
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object