Don't spend too much time with typing casts. Ignore them first and use quick assist to add them after finishing the statement. For example on assignments:

Or in for method arguments:

Or for method call targets