PavelTurk commented on issue #7358:
URL: https://github.com/apache/netbeans/issues/7358#issuecomment-2236377336

   I had something like this:
   
   ```
   public interface DialogManager { ... }
   
   public abstract class AbstractService<T extends Bar<?> & DialogManager> {
   
      private final T owner;
      ...
      protected T getOwner() {..}
      ...
   }
   ```
   After that I renamed `DialogManager` interface. Interface was renamed, but 
not everywhere. For example, it wasn't renamed in `AbstractService` class. In 
IDE log I got:
   
   ```
   SEVERE [global]: IsOverriddenAnnotationHandler: originalMethod == null!
   INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
ElementHandle[kind=METHOD; sigs=foo.AbstractService getOwner ()LDialogManager; ]
   INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
ElementHandle[kind=METHOD; sigs=foo.AbstractService getOwner ()LDialogManager; ]
   SEVERE [global]: IsOverriddenAnnotationHandler: originalMethod == null!
   INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
ElementHandle[kind=METHOD; sigs=foo.AbstractService getOwner ()LDialogManager; ]
   
   ```
   


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