-
Type:
Enhancement
-
Resolution: Rejected
-
Priority:
P4
-
None
-
Affects Version/s: None
-
Component/s: tools
-Xlint:cast could check for a cast in the context of method apply, where the method is available on the uncast class,
Example
MyClass c = ...;
System.out.println(((MySubClass) c).toString());
Example
MyClass c = ...;
System.out.println(((MySubClass) c).toString());