public static TypeAnnotationPosition
        typeCast(final List<TypePathEntry> location,
                 final int type_index) {
        return typeCast(location, null, type_index, -1);
    }
public static TypeAnnotationPosition typeCast ( final List < TypePathEntry > location , final int type_index ) { return typeCast ( location , null , type_index , - 1 ) ; }
Create a {@code TypeAnnotationPosition} for a type cast.

@param location The type path.
@param type_index The index into an intersection type.