This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans already supported the subtype suggestion for bound generic class parameters. For example: class Event {} class UpdateEvent extends Event {} class DrawEvent extends Event {} interface System<T extends Event> {} class DrawSystem implements System<| Ctrl+Space here It lists DrawEvent, Event and UpdateEvent. Great! This feature really helps the discoverability of our API. However this is not the case for bound generic method parameters. For example: class Component {} class Bounds extends Component {} class Movement extends Component {} class Entity { public <T extends Component> T get(Class<T> type) { return null; } void test() { get(| Ctrl+Space here } } It lists unrelated stuff.