lahodaj commented on PR #9174: URL: https://github.com/apache/netbeans/pull/9174#issuecomment-3822369923
Hmm, I wonder if the `klass.getKind() != ElementKind.CLASS` / `!klass.getKind().isClass()` should even be there. I don't see a reason why the hint should not be working inside e.g. default interface methods? In other words, I am unclear why this restriction was there originally. The hint predates default interface methods, I think, but even before that, interfaces were allowed to have static final fields with initializers? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
