eclipse-jdt / eclipse-jdt/eclipse.jdt.ui

Javadoc for methods of class not shown if class comes from a jar-file and only javadoc is attached to jar-file

Open
#616 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
127
Avg merge
22h 47m
Merged PRs (30d)
28

Description

I'm using a class coming from a jar-file for which I did not attach the sources but only its javadoc via the 'Libraries' tab in Java Build Path.
When I hover over the class name the javadoc of the class is displayed.
But when I hover over the name of a method of this class no javadoc is displayed - instead I see the following message:
_Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc._

I tried this with slf4j-api-2.0.7.jar and junit-jupiter-api-5.10.0-M1.jar using Eclipse 2021-12 (4.22.0) as well as 2023-06 M2 (4.28.0 M2).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.