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.
If I create a java class that implements an interface the only methods that properly show the 'inheritance marker' in the left side of the editor window are those whose parameter names coincide with the names in the interface. This is wrong. e.g. in this example the 'inheritance indicator', if that is the name, is shown correctly in the second class were the parameter name coincides with the interface's name but it does not work in the first instance were 'newValue' is repalced with 'name'. cheers, Aad interface Widget public String getName(); public void setName(String newValue); } class WidgetImpA implements Widget { String name; public String getName(){ return this.name; } public void setName(String name){ this.name = name; } } class WidgetImpB implements Widget { String name; public String getName(){ return this.name; } public void setName(String newValue){ this.name = name; } } }
It get's even funnier. After having changed all of the parameter names to reflect the names in interface, no change. Netbeans reports only the interface methods that had a correct parameter name under 'find usages'.
I wasn't able to reproduce it. All the 'inheritance markers' were correct. Are you able to reproduce it in current builds? Closing, reopen, if it still does not work for you.