import bar.Intf; import foo.Bar; class Fooooo { Class<? extends Intf> f = Bar.class;<caret> }