We can do:
Class.parseClass(A.class).toPrintable(new B());
...where A and B are incompatible. This is confusing and dangerous, and should be prohibited.
Class.parseClass(A.class).toPrintable(new B());
...where A and B are incompatible. This is confusing and dangerous, and should be prohibited.