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