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.
1. in 'Tools-->Options-->Hints-->General', make sure 'Assignment To Itself' is checked 2! create class 'Foo' with this code: public class Foo { private String name; private int value; public Foo(String name, int value) { this.name = name; this.value = value; } public void copy(Foo foo) { this.name = foo.name; this.value = foo.value; } } the two lines in the 'copy' method are incorrectly highlighted. Also, capitalization in the 'General' hints option is very inconsistent.
This is duplicate of issue 110495, Thanks for your report *** This issue has been marked as a duplicate of 110495 ***