IDEA-101773 Convert to Java: choose correct intersection type to cast to
EA-44197 - IAE: MavenRemoteRepository.<init>