boolean optional = DependencyModel.isOptional( injectionAnnotation, parameterAnnotations[ idx ] );
Type genericType = type;
if( genericType instanceof ParameterizedType )
{
genericType = new ParameterizedTypeInstance( ( (ParameterizedType) genericType ).getActualTypeArguments(), ( (ParameterizedType) genericType )
.getRawType(), ( (ParameterizedType) genericType ).getOwnerType() );
for( int i = 0; i < ( (ParameterizedType) genericType ).getActualTypeArguments().length; i++ )
{
Type typeArg = ( (ParameterizedType) genericType ).getActualTypeArguments()[ i ];