void (GenericInterface raw, GenericInterface<? super String> superGeneric, GenericInterface<? extends CharSequence> extendGeneric, GenericInterface<? super Integer> superGenericInteger, GenericInterface<? extends Integer> extendGenericInteger, NotGenericInterface notGenericInterface) { ChildNotGenericClass notRaw = (ChildNotGenericClass) raw; ChildNotGenericClass superCast = (ChildNotGenericClass) superGeneric; ChildNotGenericClass extendCast = (ChildNotGenericClass) extendGeneric; //not compile ChildNotGenericClass extendNumberCast = <error descr="Inconvertible types; cannot cast 'UncheckedWarningWithCast.GenericInterface<capture<? extends java.lang.Integer>>' to 'UncheckedWarningWithCast.ChildNotGenericClass'">(ChildNotGenericClass) extendGenericInteger</error>; //not compile ChildNotGenericClass superNumberCast = <error descr="Inconvertible types; cannot cast 'UncheckedWarningWithCast.GenericInterface<capture<? super java.lang.Integer>>' to 'UncheckedWarningWithCast.ChildNotGenericClass'">(ChildNotGenericClass) superGenericInteger</error>; //not compile ChildNotGenericClass superNotGenericCast = <error descr="Inconvertible types; cannot cast 'UncheckedWarningWithCast.NotGenericInterface' to 'UncheckedWarningWithCast.ChildNotGenericClass'">(ChildNotGenericClass) notGenericInterface</error>; //not compile ChildNotGenericClass extendNotGenericCast = <error descr="Inconvertible types; cannot cast 'UncheckedWarningWithCast.NotGenericInterface' to 'UncheckedWarningWithCast.ChildNotGenericClass'">(ChildNotGenericClass) notGenericInterface</error>; }