hlavki opened a new issue, #4186:
URL: https://github.com/apache/netbeans/issues/4186
### Apache NetBeans version
Apache NetBeans latest daily build
### What happened
When I have code e.g.:
```java
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface RunWith {
Class<?> value();
}
@RunWith(String.class)
public class Runner {}
```
Pressing key `Ctrl` and click mouse on `String.class`, netbeans opens source
of `RunWith.java` instead of `String.java`. Also JavaDoc shows `RunWith.java`.
### How to reproduce
See the description above.
### Did this work correctly in an earlier version?
No
### Operating System
Linux 5.17.9-1-default, openSUSE Tumbleweed, x86_64
### JDK
18.0.1
### Apache NetBeans packaging
Own source build
### Anything else
_No response_
### Are you willing to submit a pull request?
Yes
### Code of Conduct
Yes
--
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