blob: 2601cb87c364372288677674ae71b7989bcf6dd5 [file] [log] [blame]
interface IntF {
}
interface Factory<E extends IntF> {
E create();
void save(E obj);
static class helper {
static Factory<IntF> get() {
return null;
}
}
}
public class Clazz implements IntF {
void bar() {
Clazz y = Factory.helper.get().create();
Factory.helper.get().save(y);
}
}