added hasTypeArguments()