public static FullTypeInfo getFullTemplateType ( Type type , int templatePosition ) { if ( type instanceof ParameterizedType ) { return getFullTemplateType ( ( ( ParameterizedType ) type ) . getActualTypeArguments ( ) [ templatePosition ] ) ; } else { throw new IllegalArgumentException ( ) ; } }
Extract the full template type information from the given type s template parameter at the given position .