Ensuring a non-null type and sym for illegal T.class to prevent downstream errors. Reviewed-by: mcimadamore