blob: 8552725dbec85f41f31147d6b85bd0fdcd189b2b [file] [log] [blame]
class Test {
{
f((Bar) getComponent("bar"));
f1((Bar) getComponent("bar"));
Bar b = (Bar) getComponent("bar");
}
private <J extends Bar> void f(J j) {}
private <J> void f1(J j) {}
private <T> T getComponent(String name) {
return null;
}
static class Bar {}
}