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.
Currently UseNbBundleMessages_wrong_class_name is issued in case NbBundle.getMessage(X.class, "k") is called from Y.java where X != Y. In many such cases, X is either a nested type of Y, or some other type in the same package; so the call has the same effect as NbBundle.getMessage(Y.class, "k") and the hint should offer to replace it with k() as usual.