nmatt opened a new issue, #9469:
URL: https://github.com/apache/netbeans/issues/9469

   ### Apache NetBeans version
   
   Apache NetBeans 30
   
   ### What happened
   
   Within a Java class that implements an interface which declares the standard 
`toString()` method (like for example the `java.lang.CharSequence` interface 
does), code completion does not offer overriding `Object::toString()`.
   
   ### Language / Project Type / NetBeans Component
   
   Java, Code completion
   
   ### How to reproduce
   
   ```java
   class Example
   {
       interface Interface { public String toString(); }    
       static class Impl implements Interface {  }
   }
   ```
   Within the `Impl` class, invoke code completion => overriding `toString()` 
is not offered.
   
   Remove either `toString()` in `Interface`, or remove `implements Interface` 
from `Impl` => overriding `toString()` is now offered.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows
   
   ### JDK
   
   17
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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

Reply via email to