pojo/src/main/java/org/jboss/as/pojo/descriptor/AbstractConfigVisitorNode.java
static Type getComponentType(ParameterizedType type, int index) {
        Type[] tp = type.getActualTypeArguments();
        if (index + 1 > tp.length)
            return null;

        return tp[index];
    }
static Type getComponentType(ParameterizedType type, int index) {
        Type[] tp = type.getActualTypeArguments();
        if (index + 1 > tp.length)
            return null;

        return tp[index];
    }
static Type getComponentType ( ParameterizedType type , int index ) { Type [ ] tp = type . getActualTypeArguments ( ) ; if ( index + 1 > tp . length ) return null ; return tp [ index ] ; }
Get component type.

@param type the type
@param index the component index
@return component's class or null if cannot be determined
Get component type .